I am currently trying to programme a Rev Counter running between 15Hz and 200Hz using a PIC18F252. I am unsure how to programme the timer port and the counter port so that it is measuring the input square wave from the rotating part over a second and counting the revolutions. I know there needs to be an interrupt to reset them both after 1 sec. The display will be on a 4 digit seven segment display.
I have no experience in and form of computer programming at all and I would be happy if anyone can give me advice on the calculations and the coding itself.
If there is any information you may need to help just ask and i will try my best.
Thanks
Dave
I have no experience in and form of computer programming at all and I would be happy if anyone can give me advice on the calculations and the coding itself.
If there is any information you may need to help just ask and i will try my best.
Thanks
Dave