Read modify and generate PPM

Dependents:   pwm-output

Fork of PPM by good god

Revision:
1:3649456c67ef
Parent:
0:ab42e541f04d
--- a/PPMOut.h	Sun Jan 08 20:17:29 2017 +0000
+++ b/PPMOut.h	Fri Jun 09 08:34:42 2017 +0000
@@ -7,9 +7,9 @@
         static const uint16_t CHANNEL_SYNC = 300; // us
         static const uint16_t CHANNEL_PAD_SYNC = 1000 - CHANNEL_SYNC; // us
         static const uint16_t FRAME_SYNC = 5000; // us
-        static const uint16_t FRAME_LEN = 22300; // us
-        static const uint16_t MAX_CHANNEL_VALUE = 1000; // us
-        static const uint16_t MIN_CHANNEL_VALUE = 0; 
+        static const uint16_t FRAME_LEN = 20000; // us
+        static const uint16_t MAX_CHANNEL_VALUE = 1980; // us
+        static const uint16_t MIN_CHANNEL_VALUE = 1020; 
         static const uint16_t DOTS = MAX_CHANNELS*2+2; // two dots per channel + FRAME_SYNC
 
         /* Will start the PPM output */