Remove color1 and color2, use colors array instead
This commit is contained in:
@@ -15,8 +15,6 @@ class Settings(dict):
|
||||
self["led_pin"] = 10
|
||||
self["num_leds"] = 50
|
||||
self["pattern"] = "on"
|
||||
self["color1"] = "#00ff00"
|
||||
self["color2"] = "#ff0000"
|
||||
self["delay"] = 100
|
||||
self["brightness"] = 10
|
||||
self["color_order"] = "rgb"
|
||||
|
||||
2
tool.py
2
tool.py
@@ -67,8 +67,6 @@ class LEDConfigTool:
|
||||
("color_order", "Color Order", "choice", ["rgb", "rbg", "grb", "gbr", "brg", "bgr"]),
|
||||
("name", "Device Name", "text"),
|
||||
("pattern", "Pattern", "text"),
|
||||
("color1", "Color 1", "color"),
|
||||
("color2", "Color 2", "color"),
|
||||
("delay", "Delay (ms)", "number"),
|
||||
("brightness", "Brightness", "number"),
|
||||
("n1", "N1", "number"),
|
||||
|
||||
Reference in New Issue
Block a user