Simple programm for AVR ATtiny2313 - pulses counter.