Skip to content
forked from daPhoosa/CPPM-RX

Simple Arduino library for RC receivers that output CPPM

Notifications You must be signed in to change notification settings

Bingo2023/CPPM-RX

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPPM-RX

Simple Arduino library for RC receivers that output CPPM

This is curerently configured for the Orange RX R615X Receiver from HobbyKing

Usage:

  • StartCPPM(int) -- Run once in setup. Pass the Arduino interrupt number (not pin number)

  • To Access pulse widths use the following:

RC_THROT
RC_AILER
RC_ELEV
RC_RUDD
RC_MODE
RC_AUX1
RC_AUX2
RC_AUX3

(See CPPM-RX.h to adjust pulse number if your receiver is different)

  • All channels report pulse length in micro seconds. This will usually center on 1500us with ranges of 1000-2000us or 1100-1900us depending on receiver brand.
  • RX_Fail() -- this function will return TRUE if last pulse was seen more than 0.5s ago
  • CPPM_display() -- this function will output the current pulse values to the default serial port. Used for testing.

About

Simple Arduino library for RC receivers that output CPPM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%