Skip to content
Snippets Groups Projects
Commit dbd9a119 authored by moon2's avatar moon2 :speech_balloon:
Browse files

payload: restored that one demo song drums + notes synth

parent 0d28a282
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ def init(): ...@@ -23,7 +23,7 @@ def init():
global notes global notes
for i in range(10): for i in range(10):
synth = tinysynth(440,0) synth = tinysynth(440,0)
synth.attack(1) synth.attack(0)
if i % 2: if i % 2:
synth.tone(notes[int(i/2)]) synth.tone(notes[int(i/2)])
synth.waveform(4) synth.waveform(4)
...@@ -38,3 +38,9 @@ def init(): ...@@ -38,3 +38,9 @@ def init():
def foreground(): def foreground():
display_scope_start() display_scope_start()
for i in range(10):
for y in range(4):
captouch_set_petal_pad_threshold(i,y,4000)
for i in range(40):
set_led_rgb(i, 0,60,60)
update_leds()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment