Toggle Navigation
Hatchery
Eggs
cryptoparty gpg fingerprint
__init__.py
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
__init__.py
raw
Content
import display fingerprint=("xxxx xxxx xxxx", "xxxx xxxx xxxx", "xxxx xxxx xxxx", "xxxx" ) d = display.open() pink = (250, 0, 250) black = (0, 0, 0) def print_fp(x, y): for i in range(0, 4): d.print(fingerprint[i], posx=x, posy=y, font=1) y+=13 def main(): with display.open() as d: d.clear(col=pink) d.rect(20, 20, 40, 60, col=black, filled=True) d.rect(60, 0, 160, 40, col=black, filled=True) d.rect(60, 60, 80, 80, col=black, filled=True) d.rect(100, 60, 120, 80, col=black, filled=True) d.rect(140, 0, 160, 80, col=black, filled=True) print_fp(60, 2) d.update() main()