12345678910111213141516171819202122232425262728#define F_CPU 16000000UL #include #include //#include #include "nb_adc.h" void nb_sleep_ms(uint16_t ms){ while(ms-- != 0) _delay_ms(1);}int main(){ DDRA = 0xFF; PORTA = 0xFF; adc_init(); int16_t adc_value = 0; while(1){ for(int i=0; i