DigitalEnableInputs Method
Enables digital inputs and events whose sources are Arduino pins defined in the firmware profile.
A short delay may need to be implemented after a call to this method to allow digital values to start being received.
Enable only the input sources that are needed.
Analog inputs for corresponding Arduino pins are disabled. Input pins are identified by their index position
in the list of Arduino pins in firmware macro DIGITAL_INPUT_PINS.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
public void EnableInputs(
params int[] inputPins
)
Public Sub EnableInputs (
ParamArray inputPins As Integer()
)
member EnableInputs :
inputPins : int[] -> unit
Parameters
- inputPins Int32
- The index positions of input pins whose value is between 0 an 4 inclusive.