106 #define RCTRAINER_MAX_CHANNELS 10
108 #define RCTRAINER_MIN_INTERFRAME_INTERVAL 3000
145 int16_t
getChannel(int16_t channel, int16_t mapFromLow = 1096, int16_t mapFromHigh = 1916, int16_t mapToLow = 0, int16_t mapToHigh = 1023);
149 static RcTrainer* _RcTrainerForInterrupt[];
151 uint8_t _nextChannelNumber;
152 uint16_t _channels[RCTRAINER_MAX_CHANNELS];
153 uint32_t _lastInterruptTime;
155 void interruptHandler();
156 static void interruptHandler0();
157 static void interruptHandler1();
158 static void interruptHandler2();
159 static void interruptHandler3();
160 static void interruptHandler4();
161 static void interruptHandler5();