DigitalGetInputEvent Method

If an input event (e.g. button press) has been detected, get its value or return -1 otherwise. Use class Input for symbolic labels for input events. Input events are only detected for Arduino pins that have been enabled.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
C#
public int GetInputEvent()

Return Value

Int32
An integer value representing a detected input event. A value of -1 indicates not events detected.

See Also