#include "src/delay.h" #include "src/deprecated.h" #include "src/eeprom.h" #include "src/interrupt.h" #include "src/io.h" volatile int tov0Counter = 0; volatile int int0Counter = 0; volatile int int1Counter = 0; volatile int timer1Counter = 0; /**************************************************************************** ISRs ****************************************************************************/ ISR(TIMER0_OVF_vect) { tov0Counter++; } ISR(INT0_vect) { int0Counter++; } ISR(INT1_vect) { int1Counter++; } void resetPulseCounter() { int0Counter = 0; int1Counter = 0; tov0Counter = 0; } /*********************main****************************/ int main(void) { int pulse01 = 0; int pulse02 = 0; //int i = 0; DDRB = (1<