1Graphical interface

 

2Function

The <GPIO_DI> block allows you to configure one of the Raspberry Pi’s GPIO pins as a digital input and read its value, unless “close” is true.

See the gpiozero module documentation for more details.

3Inputs

4Outputs

5Usage

When a Raspberry Pi is used as a target, this block allows you to use a GPIO pin as a digital input. Note that by default, a pull-up resistor pulls the input to the high state; therefore, you must either leave the input open (which will result True) or ground the input (which will result False)