diff --git a/__init__.py b/__init__.py index ed4c074719b4ab3952a755fe04af607ceeabe4a1..26884f334b2c1b33c9a4028e628835633977329d 100755 --- a/__init__.py +++ b/__init__.py @@ -2,6 +2,7 @@ import bl00mbox import captouch import leds import time +from random import randrange from st3m.application import Application, ApplicationContext from st3m.input import InputState @@ -189,6 +190,7 @@ class EndlessSequencer(Application): print(" light leds {}".format(leds_range)) # Turn on leds + #colour = (randrange(200), randrange(200), randrange(200)) for led in leds_range: # Action boutons if i in [0, 9]: @@ -197,6 +199,7 @@ class EndlessSequencer(Application): leds.set_rgb(led, 0, 0, 200) else: leds.set_rgb(led, 0, 200, 0) + #leds.set_rgb(led, colour[0], colour[1], colour[2]) leds.update() diff --git a/flow3r.toml b/flow3r.toml index 466d2ca9f263ff6368663e79e40481e631b1a2a8..69fff6be83f10853d9a9772b534fa1cb2af9360d 100644 --- a/flow3r.toml +++ b/flow3r.toml @@ -9,5 +9,5 @@ class = "EndlessSequencer" author = "Rorist" license = "MIT" url = "https://git.flow3r.garden/rorist/endless-sequencer" -description = "Little endless sequencer with the default samples, hold REC to add a sample to the sequence, hold RESET to restart." -version = 9 +description = "Sequencer mimicic the OP-1, hold REC to add a step to the sequence, press NXT to add a silence and press RST to reset the sequence." +version = 10