Toggle Navigation
Hatchery
Eggs
Pride
__init__.py
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
__init__.py
raw
Content
import display RED = 0xff6e6e ORANGE = 0xffa36e YELLOW = 0xffc06e TURQUOISE = 0x59ffac BLUE = 0x59a9ff PURPLE = 0x8e59ff DEEP_PURPLE = 0Xf530ff COLORS = (RED, ORANGE, YELLOW, TURQUOISE, ORANGE, YELLOW, TURQUOISE, BLUE, YELLOW, TURQUOISE, BLUE, PURPLE, TURQUOISE, BLUE, PURPLE, DEEP_PURPLE) for num in range(16): x = num % 4 y = num // 4 display.drawPixel(x, y, COLORS[num]) display.flush()