Ebbe Baß 2022-05-03 19:26:42 +02:00
commit 725259104e
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ def play_pause():
consumer_control.send(ConsumerControlCode.PLAY_PAUSE) consumer_control.send(ConsumerControlCode.PLAY_PAUSE)
print('Play/Pause') print('Play/Pause')
time.sleep(1)
while True: while True:
if buttonPin.value == False: if buttonPin.value == False: