DIGITAL.IN i [TO] IN n/BB n [[AS] INPUT|PULLUP|PULLDOWN]

Command:

DIGITAL.IN i [TO] IN n/BB n [[AS] INPUT|PULLUP|PULLDOWN]

Command Syntax:

CONNECT DIGITAL.IN i [TO] IN n/OUT n/BB n

Range:

 

Describe:

Connects a generic digital object to a specified pin or port. The connected pin is configured either as a digital output signal, default LOW, or a digital input signal, default INPUT with no pullup or pulldown enabled.

The index number can refer to either an input or output. The index is shared by both items since a DIGITAL signal can be either an input or output.

CONNECT DIGITAL.IN 1 [TO] IN 1

Result:

Connect pin to digital object default input state, default INPUT.

Type or
Addressable Component:

Control/Sensor