|
Measuring a Pulse Width
I'm trying to measure the length of a pulse from a waveform generator to the mini-rc. The signal is a simple square wave; 5 Vp-p, 25 Hz. Unfortunately, I can't seem to get interrupts on the mini-rc to detect any of the edges.
I have the function generator directly connected to the mini-RC. I am verifying the signal on an oscilloscope. Unfortunately, I just can't seem to generate interrupts unless I am removing the PWM cable from the RC. Which makes me believe the software is working at least half correctly. I think it has something to do with the internal pull-up resistor inside the RC. Can anyone shed some light on this? Thanks.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
|