We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c0c45d commit a09fde7Copy full SHA for a09fde7
micropython/examples/cosmic_unicorn/feature_test_with_audio.py
@@ -252,7 +252,7 @@ def tick(timer):
252
was_c_pressed = False
253
254
if gu.is_pressed(CosmicUnicorn.SWITCH_D):
255
- if not was_c_pressed:
+ if not was_d_pressed:
256
# Stop synth (if running) and play Tone B
257
timer.deinit()
258
tone_b = 600
@@ -291,7 +291,7 @@ def tick(timer):
291
channels[0].frequency(tone_a)
292
293
if gu.is_pressed(CosmicUnicorn.SWITCH_SLEEP):
294
- if not was_d_pressed:
+ if not was_z_pressed:
295
# Stop synth and both tones
296
tone_a = 0
297
tone_b = 0
0 commit comments