Skip to content

claymation/CPPM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Combined PPM (CPPM) Receiver Library for Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages