Skip to content

Commit e8ea8b7

Browse files
authored
Update code.py
update colormask example to match the expected format of rainbowio.colorwheel
1 parent c622016 commit e8ea8b7

File tree

1 file changed

+1
-1
lines changed
  • CircuitPython_Display_Text/colormask_example

1 file changed

+1
-1
lines changed

CircuitPython_Display_Text/colormask_example/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
rainbow_palette = displayio.Palette(255)
4545

4646
for i in range(0, 255):
47-
rainbow_palette[i] = int("".join("%02x" % i for i in colorwheel(i)), 16)
47+
rainbow_palette[i] = colorwheel(i)
4848

4949
for y in range(rainbow_bitmap.height):
5050
for x in range(rainbow_bitmap.width):

0 commit comments

Comments
 (0)