depending of your skill level in programming, you can build your own frequency generator who runs in pseudo background with your own HIGH/LOW level duration or you may like to use internal PWM with an external clock divider wich is more simple but need more external components.
But you can do everything in code. you must calculate rough how many time every instruction take, insert variable delay and calculate the input variation.
you may use interrupt or not. Is your input will be in voltage or in frequency?
let us know the exact thing you know and you need. tell us wich PIC you want to use etc, etc
regards
Last edited by mister_e; - 15th November 2004 at 21:45.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks