http://rasppiprojekte.blogger.de/stories/2442344/
0. Bild
1. Projektstatus
- erledigt
2. Teilprojekte
- 04
3. Hardware
- Button
4. Pin-Belegung
- Pin 1; 3,3 Volt (+)
- Widerstand (1000 Ohm)
- Button
- Pin 16; GPIO 23
- Pin 11: GPIO 17
- Pin 9: GND (-)
5. Code
06_quellcode (txt, 0 KB)
Alternativ: GPIO.output(7, GPIO.input(11))
import time
time.sleep(1)
print("irgendwas")
/Documents/nano 06.py
sudo python 06.py
6. Anmerkung
sehr hilfreich
https://www.youtube.com/watch?v=Bqk6M_XdIC0
.
thomasschwerin am 13. Oktober 14
|
Permalink
|
0 Kommentare
|
kommentieren