same funcionality as the music rocket

This commit is contained in:
tilman
2016-12-28 22:48:04 +01:00
parent 44bcf2942f
commit 6227639c6d
3 changed files with 121 additions and 114 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ GPIO.setup(9, GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.setup(10, GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.setup(11, GPIO.IN, pull_up_down=GPIO.PUD_UP)
#sensor on PIN 17
# Sensor on PIN 17
GPIO.setup(17, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
def btn1_callback(channel):