We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2eddc39 + c9a1364 commit 92e1e34Copy full SHA for 92e1e34
programming/leds.md
@@ -41,14 +41,14 @@ robot.kch.leds[LED_C].colour = Colour.OFF
41
The available colours are:
42
43
~~~~~ python
44
-OFF
45
-RED
46
-YELLOW
47
-GREEN
48
-CYAN
49
-BLUE
50
-MAGENTA
51
-WHITE
+Colour.OFF
+Colour.RED
+Colour.YELLOW
+Colour.GREEN
+Colour.CYAN
+Colour.BLUE
+Colour.MAGENTA
+Colour.WHITE
52
~~~~~
53
54
Alternatively you can set the red, green and blue channels for a given LED separately:
0 commit comments