sysprog-basic/include/adc.h

7 lines
137 B
C

#pragma once
#define F_CPU 16000000UL
#define __AVR_ATmega328P__
#include <stdio.h>
void adc_init();
uint16_t adc_read(uint8_t channel);