A simple PWM decoder class. It is based on using 2 interrupts, one for rising and another for falling edges of the input pulse. This is a very simple approach, possibly accurate enough to decode RC receiver pulses.

Auto generated API documentation and code listings for PulseDecoder

Code

pulse_decoder.cpp [code]
pulse_decoder.h [code] This library provides a simple PWM decoder class