Combined PPM (CPPM) Receiver Library for Arduino
C++ Other
Switch branches/tags
Nothing to show
Clone or download
claymation Remove watchdog timer (for now)
Need to devise another watchdog that does not depend on millis()
(and thus timer0).
Latest commit edf10e3 Dec 4, 2014
Permalink
Failed to load latest commit information.
examples/multicolor
CPPM.cpp
CPPM.h
LICENSE
README.md

README.md

Combined PPM (CPPM) Receiver Library for Arduino

This library provides a simple interface for reading up to 16 channels of RC input from a single CPPM signal:

void setup(void)
{
    CPPM.begin(NUM_CHANNELS);
}

void loop(void)
{
    int16_t channels[NUM_CHANNELS];

    if (CPPM.ok())
    {
        CPPM.read(channels);

        // do something fun with the channel values, like fly a quadcopter...
    }
}

In its current form, it most likely only works on Arduino Uno. It requires exclusive access to timer1, preventing the use of PWM on digital output pins 9 & 10 (whose waveform generator also use timer1).