Toggle Navigation
Hatchery
Eggs
meatspin
__init__.py
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
__init__.py
raw
Content
import display, time, neopixel while True: display.drawFill(0x000000) display.drawPng(0,0,'/apps/meatspin/frame1.png') display.flush() neopixel.send(bytes([0,255,0])) time.sleep(0.1) display.drawFill(0x000000) display.drawPng(0,0,'/apps/meatspin/frame2.png') display.flush() neopixel.send(bytes([0,255,0]*3)) neopixel.send(bytes([0,0,0]*2)) time.sleep(0.1) display.drawFill(0x000000) display.drawPng(0,0,'/apps/meatspin/frame3.png') display.flush() neopixel.send(bytes([0,255,0]*5)) neopixel.send(bytes([0,0,0]*4)) time.sleep(0.1) display.drawFill(0x000000) display.drawPng(0,0,'/apps/meatspin/frame4.png') display.flush() neopixel.send(bytes([0,255,0]*7)) neopixel.send(bytes([0,0,0]*6)) time.sleep(0.1) display.drawFill(0x000000) display.drawPng(0,0,'/apps/meatspin/frame5.png') display.flush() neopixel.send(bytes([0,255,0]*9)) neopixel.send(bytes([0,0,0]*8)) time.sleep(0.1) display.drawFill(0x000000) display.drawPng(0,0,'/apps/meatspin/frame6.png') display.flush() neopixel.send(bytes([0,255,0]*11)) neopixel.send(bytes([0,0,0]*10)) time.sleep(0.1) display.drawFill(0x000000) display.drawPng(0,0,'/apps/meatspin/frame7.png') display.flush() neopixel.send(bytes([0,255,0]*12)) neopixel.send(bytes([0,0,0]*11)) time.sleep(0.1) display.drawFill(0x000000) display.drawPng(0,0,'/apps/meatspin/frame8.png') display.flush() neopixel.send(bytes([0,0,0]*12)) time.sleep(0.1)