Ardupilot2/libraries/RC/AP_RC.h
jasonshort f4b024f194 changed read_pwm to read
git-svn-id: https://arducopter.googlecode.com/svn/trunk@480 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-11 19:42:49 +00:00

32 lines
427 B
C++

#ifndef AP_RC_h
#define AP_RC_h
#include <inttypes.h>
#include "WProgram.h"
#include "RC.h"
class AP_RC : public RC
{
public:
AP_RC();
void init();
void read();
void output();
void set_ch_pwm(uint8_t ch, uint16_t pwm);
void trim();
int16_t radio_in[4];
int16_t radio_min[4];
int16_t radio_trim[4];
int16_t radio_max[4];
int16_t servo_in[4];
float servo_out[4];
private:
uint16_t _timer_out;
};
#endif