Last modified by Stephan Robinig on 2021/02/22 09:48

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.png||alt="Bsp_When_Raspberry_Pi_pin_changes_to.png"]]**
19 )))
20 )))
21
22 (% class="col-xs-12 col-sm-6" %)
23 (((
24 (% class="box" %)
25 (((
26 ==== **Result** ====
27
28 **[[[[image:Documentation.BrickDocumentation.AddItemToUserListBrick.WebHome@null4.png]]>>https://sharecatrob.at/pocketcode/project/7c25b086-74f2-11eb-a92d-005056a36f47]]**
29
30 [[image:Gif_setze_Pin.gif||alt="Gif_Wenn_Raspberry_Pi_Pin_ändert_sich_zu.gif"]]
31 )))
32 )))
33 )))