DigitalInvertInputs Method

Configures Arduino digital inputs to be detected on Low (inverted) signal. This method should be called before enabling any pins for digital input. Input pins are identified by their index position in the list of Arduino pins in firmware macro DIGITAL_INPUT_PINS.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
C#
public void InvertInputs(
	params int[] inputPins
)

Parameters

inputPins  Int32
The index positions of input pins whose value is between 0 an 4 inclusive.

Exceptions

IOExceptionSerial port is in error state or not open.
ArgumentExceptioninputPins not supplied.
ArgumentOutOfRangeExceptioninputPins contains out of range value.

See Also