From 3b2e3a830fcc4dc513e746fb97ba8fb3b9521975 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Thu, 16 May 2024 16:21:50 +0100 Subject: [PATCH] Run on boot --- app.py | 4 ---- main.py | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 main.py diff --git a/app.py b/app.py index 5c6400b..33b73a3 100644 --- a/app.py +++ b/app.py @@ -276,7 +276,3 @@ class App: self.__manageScreen() except KeyboardInterrupt: machine.reset() - -if __name__ == "__main__": - app = App() - app.run() \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..6d09d1c --- /dev/null +++ b/main.py @@ -0,0 +1,4 @@ +from app import App + +app = App() +app.run() \ No newline at end of file