Show last authors
1 (% class="box infomessage" %)
2 (((
3 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.
4
5 [[image:set-raspberry-pi-pin.png]]
6 )))
7
8 (% class="row" %)
9 (((
10 (% class="col-xs-12 col-sm-6" %)
11 (((
12 (% class="box" %)
13 (((
14 ==== **Example** ====
15
16 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.
17
18 **[[image:Bsp_Set_Raspberry_Pi_pin_1.png||alt="Bsp_When_Raspberry_Pi_pin_changes_to.png"]]**
19 [[image:Bsp_Set_Raspberry_Pi_pin_2.png]]
20 )))
21 )))
22
23 (% class="col-xs-12 col-sm-6" %)
24 (((
25 (% class="box" %)
26 (((
27 ==== **Result** ====
28
29 **[[[[image:Documentation.BrickDocumentation.AddItemToUserListBrick.WebHome@null4.png]]>>https://sharecatrob.at/pocketcode/project/7c25b086-74f2-11eb-a92d-005056a36f47]]**
30
31 [[image:Gif_setze_Pin.gif||alt="Gif_Wenn_Raspberry_Pi_Pin_ändert_sich_zu.gif"]]
32 )))
33 )))
34 )))