Block:Digital input
Read values from input pin.
For port, specify the port label: For example: D2.
Use of a pull-up resistor can be optionally enabled. A pull-up makes the input high when there is no input.
Infocard
Pin for reading digital values.
Property | Description |
---|---|
Disabled | To disable or enable this block. |
Name | The name of this block. |
Pin | Pin number |
Pull-up | Check this box to enable the internal pull-up. |
Comment | To optionally enter a comment. It does not impact the generated firmware. |