Set Raspberry Pi pin [value] to [value]

Last modified by admin on 2023/10/10 12:17

Sets the specified Pin to the specified value. For this brick only the values 0 (false / low) and 1 (true / high) work, otherwise the brick has no effect.

set-raspberry-pi-pin.png

Example

This script checks the touch position on the screen. If the lower half (red) or the upper half (yellow) is touched, the corresponding LED is toggled.

Bsp_When_Raspberry_Pi_pin_changes_to.png
Bsp_Set_Raspberry_Pi_pin_2.png

Result

null4.png

Gif_Wenn_Raspberry_Pi_Pin_ändert_sich_zu.gif