updating code for magic band reader

updating code for magic band reader
This commit is contained in:
Noe Ruiz 2023-02-16 09:12:32 -05:00
parent d2a630e799
commit 3e8b211afd

View file

@ -47,7 +47,7 @@ sounds = [
] ]
while True: while True:
print("Waiting for button press to continue!") print("Waiting for button press to continue!")
while button.value: while not button.value:
solid.animate() solid.animate()
play_wav(random.choice(sounds)) play_wav(random.choice(sounds))
while audio.playing: while audio.playing: