This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /dev/ttyACM0 /dev/ttyS32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <PPMReader.h> | |
const byte ppmInputPin = 3; | |
const byte channels = 6; | |
const unsigned PPM_MIN = 1000; | |
const unsigned PPM_RANGE = 1000; | |
const unsigned FMS_MAX = 254; | |
PPMReader ppm(ppmInputPin, channels); |