-
-
Notifications
You must be signed in to change notification settings - Fork 2
Creating an app
Thea Barnes edited this page Sep 15, 2021
·
1 revision
Creating an app for PiTFT Manager is fairly straightforward.
- First, create a new file in
apps/
, make sure it's a.py
file - Second, edit your file and start with this code:
import logging
from apps import AbstractApp
class App(AbstractApp):
def reload(self):
self.blank()
Now you're ready to code! Use the Python Imaging Library to draw on self.image
, or use some of the convenience functions provided by AbstractApp
.