#include int main (void) { DDRB = 0xFF; // port B output DDRD = 0xFF; // port D output PORTD = ~0xff; MCUCSR = 0x80; // = 0b10000000 = 128 MCUCSR = 0x80; int x = 0; // Activate ADC with Prescaler 16 --> 1Mhz/16 = 62.5kHz ADCSRA = _BV(ADEN) | _BV(ADPS2); //ADCSRA = (1<>2; } }