WOLFRAM SYSTEM MODELER
DigitalInputReads a digital signal from the specified pin |
|
SystemModel["ModelPlug.Pins.DigitalInput"]

Reads a digital signal from the specified pin. This component uses the 'digitalRead' function of the Arduino.
Signal Range: This component accepts only Boolean signals (true/false).
| Pin |
Value: 0 Type: Integer Description: Number of the digital pin |
|---|---|
| InitValue |
Value: false Type: Boolean Description: Initial value until the board responds |
| PullUp |
Value: true Type: Boolean Description: Enables the pull-up resistor of the input |
| y |
Type: BooleanOutput Description: 'output Boolean' as connector |
|
|---|---|---|
| pinConnector |
Type: PinConnector |