@@ -20,8 +20,18 @@ commands:
led_2_off:
controller: led_test_2
function: "off"
-
+ dout:
+ controller: debug_ctrl
+ function: output
+ din:
+ function: read
+ rgb_red:
+ controller: led_rgb
+ function: red
+ rgb_green:
+ function: green
@@ -9,8 +9,11 @@ controllers:
led_test_2:
target: digilib.pin.LED
pin: 6
+ led_rgb:
+ target: digilib.pin.RGBLED
+ pin: [19,26]
+ debug_ctrl:
+ target: digilib.pin.DebugPinController