APIs, concepts, guides, and more

◆ DigitalInGet()

bool DigitalInGet ( int32_t digitalInNumber)

Get the state of a digital input.

Parameters
digitalInNumberThe zero-based index of the digital input.
Returns
True if the input is high, false if low.
See also
DigitalInCountGet