You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
463 B

#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();
void twitch_servos(uint8_t times);
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