bf
This commit is contained in:
parent
9c30b3d12d
commit
169b1a755f
@ -268,6 +268,7 @@ def main():
|
|||||||
LED_status[0] = True
|
LED_status[0] = True
|
||||||
while GPIO.input(Button1_pin) == GPIO.LOW:
|
while GPIO.input(Button1_pin) == GPIO.LOW:
|
||||||
sleep(.1)
|
sleep(.1)
|
||||||
|
sleep(2)
|
||||||
GPIO.output(LED1_pin, GPIO.LOW)
|
GPIO.output(LED1_pin, GPIO.LOW)
|
||||||
LED_status[0] = False
|
LED_status[0] = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user