mirror of
https://github.com/c0de-archive/pixoPython.git
synced 2024-12-22 05:12:41 +00:00
23 lines
538 B
Python
23 lines
538 B
Python
# This file is executed on every boot (including wake-boot from deepsleep)
|
|
# Be careful about doing things that loop here, you may have to reinstall the firmware
|
|
|
|
# import esp
|
|
# esp.osdebug(None)
|
|
|
|
# Initalize the board
|
|
from board import TOTAL_DOTS, BOARD
|
|
|
|
# Class that contains display methods, animations, etc
|
|
from pixels import Pixo
|
|
# Blank the display
|
|
Pixo().clear()
|
|
|
|
# Small ease of use methods
|
|
from helpers import *
|
|
|
|
# Setup wifi connection
|
|
import wifi
|
|
|
|
# Start an anonymous FTP server (TODO: Do this on the AP_IF only)
|
|
import uftpd
|