Skip to content

Commit 15146ad

Browse files
authored
Merge pull request adafruit#1888 from krittick/main
Update code.py
2 parents 43c8688 + e8ea8b7 commit 15146ad

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)