25 int pin_ch_4,
int pin_ch_5,
int pin_ch_6,
void (*interrupt_func)(
void)) {
58 if (channel_input == 0) {
73 String channel_info =
"Channel Values: ";
77 channel_info += String(*
state.
values[pin]) +
" (CH " + String(pin+1) +
") | ";
81 channel_info = channel_info.substring(0, channel_info.length()-3);
void displayChannels(void)
Display all the current channel values to the serial monitor.
void displayInfo(String)
int displayError(int)
RCController6CH(int, void(*)())
Default constructor.
void setupController(void(*)())
Setup controller pins and timed interrupt to update channels.
Header file for RCController6CH class
RCController6CHState state
void updateChannels(void)
Update the channel values.
Header file for error codes