This commit is contained in:
tillraab 2019-09-10 11:32:21 +02:00
parent 3405114cba
commit 5957b30b8f

View File

@ -41,10 +41,10 @@ def main():
t0 = time()
loop_t = time()
# loop_t = time()
while time() - t0 < 5:
print(time() - loop_t)
# print(time() - loop_t)
# LED1 blink every 2 sec
if time() - LED1_t < .1 and LED_status[0] == False:
LED_status[0] = True
@ -77,7 +77,7 @@ def main():
print('button 2 pressed')
loop_t = time()
# loop_t = time()
GPIO.cleanup()