Hello,
I want to decode a PWM signal with PIC16F877A. As you can see in the attached picture, there is a noise in front of the signal. I want to ignore them, I think those 3 jumps after noise are start of the signal, because they are same in every condition (I tested). After start condition there are 17 pulses. I want to measure the on-time and off-time of every pulses. How can I do that?
Can I make it with Capture module? And how?
One question regarding capture mode:
Does the TIMER1 start immidiately after initializing? Or it waits until a falling edge comes to RC2/CCP1 input and then starts.
By the way: This signal is comming from a 27 MHz receiver in a RC-car.
Thanks.