wasp-os/apps
Francesco Gazzetta a956b3efe5 Include the gallery app in micropython.zip
...and move GameOfLife out to make space

The gallery app needs too much memory to run from bytecode, and has to
be frozen in micropython.zip instead

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2022-03-27 08:58:22 +01:00
..
GameOfLife.py Include the gallery app in micropython.zip 2022-03-27 08:58:22 +01:00
Morse.py Remove morse from default apps 2021-11-17 15:29:08 +00:00
ReadMe.py apps: software: Add support for user-defined applications 2021-09-10 21:17:57 +01:00

# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2021 Daniel Thompson
"""Example of any automatically discovered application.

Any python file (``.py`` or ``.mpy``) discovered in the ``apps/``
directory will be automatically added to the Software application.
"""

import wasp

class ReadMeApp():
    NAME = "ReadMe"

    def foreground(self):
        draw = wasp.watch.drawable
        draw.fill()
        draw.string('Autoloaded from', 0, 96, width=240)
        draw.string('apps/ReadMe.py', 0, 96+32, width=240)