TiLDA MK4/Code Structure: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=== Headers === main.py headers: <pre> ___name___ = "<your_app_name>" ___license___ = "MIT" ___dependencies___ = ["wifi", "http", "ugfx_helper", "sleep"] ___cat...") |
No edit summary |
||
Line 2: | Line 2: | ||
main.py headers: | main.py headers: | ||
""" <your description> | |||
""" | |||
<pre> | <pre> | ||
___name___ = "<your_app_name>" | ___name___ = "<your_app_name>" |
Revision as of 10:31, 1 September 2018
Headers
main.py headers: """ <your description> """
___name___ = "<your_app_name>" ___license___ = "MIT" ___dependencies___ = ["wifi", "http", "ugfx_helper", "sleep"] ___categories___ = ["<see below>"] ___bootstrapped___ = True # Whether or not apps get downloaded on first install. Defaults to "False", mostly likely you won't have to use this at all.
Please use one of these categories:
- System
- Homescreens
- Games
- Sound
- EMF
- Villages
- Phone
- LEDs
- Sensors
- Demo
- Other
Ensure your apps calls restart_to_default() when finished
main.py footer:
restart_to_default()