iforce2d Chris
/
04_I2C_MPU6050
YMFC-AL implementation in mbed.
Embed:
(wiki syntax)
Show/hide line numbers
PPM.h
00001 #ifndef PPM_IN 00002 #define PPM_IN 00003 00004 class PPM 00005 { 00006 public: 00007 static const uint8_t NUM_CHANNELS = 6; 00008 uint16_t channels[NUM_CHANNELS]; 00009 00010 PPM(PinName pin); 00011 00012 void rise(); 00013 00014 protected: 00015 InterruptIn ppm; 00016 Timer timer; 00017 uint8_t currentChannel; 00018 }; 00019 00020 #endif
Generated on Sun Jul 31 2022 22:47:51 by 1.7.2