16 IR_HELI_CHANNEL_A = 0x3,
17 IR_HELI_CHANNEL_B = 0x2,
18 IR_HELI_CHANNEL_C = 0x1,
22 #define IR_HELI_MASK_RUDDER 0xf0
23 #define IR_HELI_MASK_ELEVATOR 0x0f
26 #define IR_HELI_MASK_RUDDERTRIM 0x1f
29 #define IR_HELI_FLAG_RUDDER_LEFT 0x80
30 #define IR_HELI_FLAG_ELEVATOR_UP 0x40
31 #define IR_HELI_FLAG_RUDDERTRIM_LEFT 0x20
92 void setCommand(uint8_t throttle, uint8_t rudder, uint8_t elevator, uint8_t ruddertrim);
101 void sendCommand(uint8_t throttle, uint8_t rudder, uint8_t elevator, uint8_t ruddertrim);
117 unsigned long _lastCommandTime;
120 uint8_t _commandRaw[4];