sysprog-basic/include/adc.h

7 lines
137 B
C
Raw Normal View History

2023-12-09 14:20:18 +01:00
#pragma once
#define F_CPU 16000000UL
#define __AVR_ATmega328P__
#include <stdio.h>
void adc_init();
uint16_t adc_read(uint8_t channel);