• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

APM_RC.h

Go to the documentation of this file.
00001 #ifndef APM_RC_h
00002 #define APM_RC_h
00003 
00004 #define NUM_CHANNELS 8
00005 #define MIN_PULSEWIDTH 900
00006 #define MAX_PULSEWIDTH 2100
00007 
00008 #include <inttypes.h>
00009 
00010 class APM_RC_Class
00011 {
00012   private:
00013   public:
00014         APM_RC_Class();
00015         void Init();
00016         void OutputCh(unsigned char ch, uint16_t pwm);
00017         uint16_t InputCh(unsigned char ch);
00018         unsigned char GetState();
00019         void Force_Out0_Out1(void);
00020         void Force_Out2_Out3(void);
00021         void Force_Out6_Out7(void);
00022 };
00023 
00024 extern APM_RC_Class APM_RC;
00025 
00026 #endif

Generated for ArduPilot Libraries by doxygen