Skip to content

Commit 8c06db5

Browse files
authored
Merge pull request #12 from arduino/pixels-index
Change Color to Magenta
2 parents 0497ea4 + a704e07 commit 8c06db5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modulino/pixels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ModulinoColor:
1212
- BLUE
1313
- YELLOW
1414
- CYAN
15-
- VIOLET
15+
- MAGENTA
1616
- WHITE
1717
1818
They can be accessed e.g. as ModulinoColor.RED
@@ -50,7 +50,7 @@ def __int__(self) -> int:
5050
ModulinoColor.BLUE = ModulinoColor(0, 0, 255)
5151
ModulinoColor.YELLOW = ModulinoColor(255, 255, 0)
5252
ModulinoColor.CYAN = ModulinoColor(0, 255, 255)
53-
ModulinoColor.VIOLET = ModulinoColor(255, 0, 255)
53+
ModulinoColor.MAGENTA = ModulinoColor(255, 0, 255)
5454
ModulinoColor.WHITE = ModulinoColor(255, 255, 255)
5555

5656
NUM_LEDS = const(8)

0 commit comments

Comments
 (0)