I need to build a pulse counter with a PIC,employing TIMER0, with the following characteristics :
1) a square wave (0V - 4.7V) amplitude is applied to a unique pin of the PIC (say A4);
2) its frequency varies between 100Hz and 1kHz, (100,200,300,400,...900,1000);
3) the output is given in binary with leds (8 bits) and remains in the configuration during the application of the signal;
4) when the signal is switched off, the leds of the configuration become off;
1) a square wave (0V - 4.7V) amplitude is applied to a unique pin of the PIC (say A4);
2) its frequency varies between 100Hz and 1kHz, (100,200,300,400,...900,1000);
3) the output is given in binary with leds (8 bits) and remains in the configuration during the application of the signal;
4) when the signal is switched off, the leds of the configuration become off;