ppm
Dependents: Autonomous_quadcopter
Fork of PPM by
Revision 6:0c84dc8ad612, committed 2018-05-22
- Comitter:
- edy05
- Date:
- Tue May 22 19:36:38 2018 +0000
- Parent:
- 5:595dbe5cffdf
- Commit message:
- Removed PPMRead.h
Changed in this revision
PPMRead.h | Show diff for this revision Revisions of this file |
diff -r 595dbe5cffdf -r 0c84dc8ad612 PPMRead.h --- a/PPMRead.h Sun Nov 05 09:48:11 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -#include "mbed.h" -#include "rtos.h" - -Timer timer; - -uint16_t channels[CHANNELS+2]; -uint16_t last_channels[CHANNELS+2]; -uint16_t corrections[CHANNELS]; -uint8_t current_channel; - -void PPMReadRun(){ - last_channels[ROLL] = 0; - last_channels[PITCH] = 0; - last_channels[YAW] = 0; - last_channels[THROTTLE] = 0; - last_channels[AUX1] = 0; - last_channels[AUX2] = 0; - - current_channel = 0; - timer.start(); - - - - -} \ No newline at end of file