Browse Source

fixed typos, moved parse_to_int_list to digilib.misc

digital 7 years ago
parent
commit
fe2d3bc301
2 changed files with 7 additions and 7 deletions
  1. 5 5
      config/commands.yaml
  2. 2 2
      config/controllers.yaml

+ 5 - 5
config/commands.yaml

@@ -26,12 +26,12 @@ commands:
     din:
         controller: debug_ctrl
         function: read
-    rgb_red:
-        controller: led_rgb
-        function: red
-    rgb_green:
-        controller: led_rgb
+    set_status_ok:
+        controller: status_led
         function: green
+    set_status_warn:
+        controller: status_led
+        function: red
 
 
 

+ 2 - 2
config/controllers.yaml

@@ -9,8 +9,8 @@ controllers:
     led_test_2:
         target: digilib.pin.LED
         pin: 6
-    led_rgb:
-        target: digilib.pin.LEDRGB
+    status_led:
+        target: digilib.pin.StatusLED
         pin_red: 19
         pin_green: 26
     debug_ctrl: