aboutsummaryrefslogtreecommitdiff
path: root/NeoRuntime/builtin/strobe
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2022-12-24 15:10:08 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2022-12-24 15:10:08 +0100
commit1457438493604b899e7929c95a3707b71e63f1e2 (patch)
tree896b537e3fded17458d314a91f3f89e240c92c4a /NeoRuntime/builtin/strobe
parentc06882e58a7e30928ccf6366e4265548f54218c2 (diff)
downloadLuxcena-Neo-1457438493604b899e7929c95a3707b71e63f1e2.tar.gz
Luxcena-Neo-1457438493604b899e7929c95a3707b71e63f1e2.zip
Fix bugs in builtin scripts
Diffstat (limited to 'NeoRuntime/builtin/strobe')
-rw-r--r--NeoRuntime/builtin/strobe/script.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/NeoRuntime/builtin/strobe/script.py b/NeoRuntime/builtin/strobe/script.py
index cd5bffd..5d05bbd 100644
--- a/NeoRuntime/builtin/strobe/script.py
+++ b/NeoRuntime/builtin/strobe/script.py
@@ -4,7 +4,7 @@ from time import perf_counter
class Main(NeoBehaviour):
def declare_variables(self):
- self.declare(FloatVariable("delay", 0.07, min_val=0.01, max_val=0.5, step=0.01))
+ self.declare(FloatVariable("delay", 0.07, min_val=0.000001, max_val=0.5, step=0.000001))
self.declare(IntegerVariable("pause", 20, min_val=1, max_val=60))
self.declare(IntegerVariable("strobe count", 10, min_val=1, max_val=100))
self.declare(ColorVariable("color", "#fafafa"))
@@ -31,4 +31,4 @@ class Main(NeoBehaviour):
def set_all(*color):
for i in range(strip.num_pixels()):
strip.set_pixel_color(i, *color)
- strip.show() \ No newline at end of file
+ strip.show()