same funcionality as the music rocket
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user