aboutsummaryrefslogtreecommitdiff
path: root/NeoRuntime/builtin/strobe/script.py
diff options
context:
space:
mode:
Diffstat (limited to 'NeoRuntime/builtin/strobe/script.py')
-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()