Test program for my PPM library.
Connect the PPM input to pin 5 of your mbed, the result of each channel will be printed over serial at 115200.
My channel mapping, yours will be different
- Channel 1 is roll. min 1000. max 1900
- Channel 2 is pitch. min 1000. max 1900
- Channel 3 is throttle < 900 when not connected. min 1000. max 1900
- Channel 4 is yaw. min 1000. max 1900
- Channel 5 is arm. armed > 1800 else unarmed
- Channel 6 is mode. rate > 1800. stab < 1100. else error
- Channel 7 is spare
- Channel 8 is spare
PPM.lib@0:20458b362896, 2014-08-26 (annotated)
- Committer:
- joe4465
- Date:
- Tue Aug 26 15:58:19 2014 +0000
- Revision:
- 0:20458b362896
Test program for my PPM library.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
joe4465 | 0:20458b362896 | 1 | http://mbed.org/users/joe4465/code/PPM/#083ed8cea5ff |