pull/696/head
Hel Gibbons 2023-02-27 13:17:57 +00:00
rodzic 86c304d192
commit c2b1eb47e5
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -252,7 +252,7 @@ while True:
was_c_pressed = False
if gu.is_pressed(GalacticUnicorn.SWITCH_D):
if not was_c_pressed:
if not was_d_pressed:
# Stop synth (if running) and play Tone B
timer.deinit()
tone_b = 600
@ -291,7 +291,7 @@ while True:
channels[0].frequency(tone_a)
if gu.is_pressed(GalacticUnicorn.SWITCH_SLEEP):
if not was_d_pressed:
if not was_z_pressed:
# Stop synth and both tones
tone_a = 0
tone_b = 0