Instructions
52
Der kleine Hacker
Der k
l
ei
ne
H
ac
k
1
Elektronik steuern mit
Knetekontakten
Z
iehe den blauen Block Wert von
Sensor...
i
n das linke Feld des
g
rü
-
n
en Blocks und diesen in das Feld im
T
it
e
l
des
falls...sonst
-
Bl
oc
k
s.
W
enn diese Abfra
g
e wahr ist, am
G
PIO-Pin
5
also ein Low-Si
g
nal
(
0
)
a
nlie
g
t, berührt jemand den roten
Knetekontakt. Jetzt soll die
g
rüne
LED am GPIO-Pin 2
5
leuchten und
d
ie rote LED am GPIO-Pin 18 aus
g
e
-
he
n.
10222-3 Conrad Raspberry Pi für Kids_NEU01.indd 5210222-3 Conrad Raspberry Pi für Kids_NEU01.indd 52 22.03.2017 10:07:4522.03.2017 10:07:45










