DigitalDisableInputs Method

Disables digital inputs and events whose sources are Arduino pins defined in the firmware profile. Analog inputs for corresponding Arduino pins are disabled. The inverted configuration of any disabled inputs are reset. 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 DisableInputs(
	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