Provides a simple way to capture the wave form of a pin. For example it can be used to capture the digital state transitions of a pin connected to an IR receiver. These signals can later be played back using the Signal Generator library to control IR devices. The library supports two means of capturing the signal. The signal can be captured on any digital pin using polling while for higher resolution and more accurate timing the interrupt driven capture feature can be used.

Auto generated API documentation and code listings for SignalCapture

Classes

DigitalPinCapture Captures the digital wave form of a pin into a timing buffer
InterruptPinCapture Captures the digital wave form of an interrupt capable pin into a timing buffer

Code

DigitalPinCapture.cpp [code]
DigitalPinCapture.h [code]
InterruptPinCapture.cpp [code]
InterruptPinCapture.h [code]