The firmware supports the input to be provided from two different sources connected to the Left and Right cable, respectively. To enable dual-inputs functionality uncomment #define DUAL_INPUTS
in config.h for the respective variant. Various dual-inputs combinations can be realized as illustrated in the following table:
Left |
Right |
Availability |
ADC(0) |
UART(1) |
VARIANT_ADC |
ADC(0) |
{PPM,PWM,iBUS}(1) |
VARIANT_{PPM,PWM,IBUS} |
ADC(0) |
Sideboard(1*) |
VARIANT_HOVERCAR |
UART(0) |
Sideboard(1*) |
VARIANT_UART |
UART(1) |
Nunchuk(0) |
VARIANT_NUNCHUK |
(0) Primary input: this input is used when the Auxilliary input is not available or not connected.
(1) Auxilliary input: this inputs is used when connected or enabled by a switch(*). If the Auxilliary input is disconnected, the firmware will automatically switch to the Primary input. Timeout is reported only on the Primary input.
With slight modifications in config.h, other dual-inputs combinations can be realized as:
Left |
Right |
Possibility |
Sideboard(1*) |
UART(0) |
VARIANT_UART |
UART(0) |
{PPM,PWM,iBUS}(1) |
VARIANT_{PPM,PWM,IBUS} |
{PPM,PWM,iBUS}(1) |
Nunchuk(0) |
VARIANT_{PPM,PWM,IBUS} |