Toggle Navigation
Hatchery
Eggs
basic_flashlight
__init__.py
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
__init__.py
raw
Content
import color import display import leds def update_leds(): for led in range(0,11): leds.set(led, color.WHITE) def update_screen(): xs = 1 ys = 1 xe = 160 ye = 80 with display.open() as disp: disp.clear().update() disp.rect(xs, ys, xe, ye).update() def main(): update_leds() update_screen() main()