debounce_cnt = DEBOUNCE_DELAY;
TCCR0A = 0; // no prescaler, WGM = 0 (normal)
debounce_cnt = DEBOUNCE_DELAY;
TCCR0A = 0; // no prescaler, WGM = 0 (normal)
OCR0A = 255; // 1+255 = 256 -> 16us @ 16 MHz
TCNT0 = 0; // reseting timer
TIMSK0 = 1<<OCF0A; // enable Interrupt
OCR0A = 255; // 1+255 = 256 -> 16us @ 16 MHz
TCNT0 = 0; // reseting timer
TIMSK0 = 1<<OCF0A; // enable Interrupt