PDA

View Full Version : detect oscillating input



fester addams
- 22nd November 2004, 07:30
How do I get my PIC to tell if an input is oscillating/toggling at about 3 Hertz or so?

FA

mister_e
- 22nd November 2004, 19:08
depending of what your pic do. You can use TIMER interrupt to calculate pulses/secondes on this pin. if your PIC only monitor this pin you can use PULSIN,COUNT commands.