Toggle Navigation
Hatchery
Eggs
mario
__init__.py
Login
Register
__init__.py
Content
import easydraw, system, ugfx, sys, samd import random, time def action_exit(pushed): if(pushed): # go back to the home screen system.home() def show_names(): easydraw.msg("MARIO!") while True: fr = 20 t = 0.25 ts = 0.25 samd.buzzer(20,1) time.sleep(0.28) samd.buzzer(20,1) time.sleep(0.5) samd.buzzer(21,2) time.sleep(0.5) samd.buzzer(19,1) time.sleep(0.28) samd.buzzer(20,1) time.sleep(0.5) samd.buzzer(29,2) time.sleep(0.8) samd.buzzer(14,2) time.sleep(3) def main(): ugfx.input_init() ugfx.input_attach(ugfx.BTN_B, action_exit) ugfx.input_attach(ugfx.BTN_START, action_exit) show_names() sys.stdin.read(1) #Wait for any key action_exit(True) main()