Skip to content
Snippets Groups Projects
Commit 2fdcfd12 authored by rorist's avatar rorist
Browse files

rst is yellow, longer delay in rec

parent aff9812c
No related branches found
No related tags found
No related merge requests found
......@@ -165,10 +165,10 @@ class EndlessSequencer(Application):
print(' seq {}'.format(self.sample_names[sample_id]))
self.notes.append(sample_id)
self.play_sample(sample_id)
time.sleep(0.1)
time.sleep(0.15)
if ct.petals[1].pressed:
self.notes.append(self.SILENCE)
time.sleep(0.1)
time.sleep(0.15)
# Light petal
for i in range(10):
......@@ -193,10 +193,12 @@ class EndlessSequencer(Application):
#colour = (randrange(200), randrange(200), randrange(200))
for led in leds_range:
# Action boutons
if i in [0, 9]:
if i == 0:
leds.set_rgb(led, 200, 0, 0)
elif i == 1:
leds.set_rgb(led, 0, 0, 200)
elif i == 9:
leds.set_rgb(led, 255, 255, 0)
else:
leds.set_rgb(led, 0, 200, 0)
#leds.set_rgb(led, colour[0], colour[1], colour[2])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment