Digital In#
Introduction#
The Digital In 3-Wire device allows the V5 Brain to read a digital signal from an external source, such as a switch or sensor. It detects whether the input line is high (receiving 5V) or low (receiving 0V). This can be used to determine on/off states or trigger events in a project.
Below is a list of available blocks:
Digital In signal high? – Returns whether the Digital In port is receiving a high signal.
Digital In signal high?#
The Digital In signal high? block returns a Boolean indicating whether the Digital In port is receiving a high signal.
True – The Digital In port is receiving a high signal (approximately 5V).
False – The Digital In port is receiving a low signal (approximately 0V).
<[DigitalInA v] 信号高位?>
Parameter |
Description |
|---|---|
device |
The Digital In port to use, configured in the Devices window. |