1
0
Fork 0
wasp-os/apps
2022-05-29 17:35:05 +01:00
..
Beacon.py Use functions from driver in beacon app 2022-05-28 17:36:51 +02:00
GameOfLife.py Include the gallery app in micropython.zip 2022-03-27 08:58:22 +01:00
Level.py Allow to set accel sensor orientation 2022-05-29 17:28:45 +01:00
Morse.py feat: morse app saves text to file + erase + space + newline 2022-03-27 10:02:36 +01: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)