Digital input

Properties

Property Description

Disabled

To disable or enable this block.

Name

The name of this block.

Pin

Pin number.
Specify as: D<number>. For example: D2

Pull-up

Check this box to enable the internal pull-up.

Comment

To optionally enter a comment.
It does not impact the generated firmware.

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.