summaryrefslogtreecommitdiff
path: root/wasp/manager.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-08 17:37:43 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-08 17:39:39 (GMT)
commit799a66c9b95a1f95eba8b3412c45b6290ec68a73 (patch)
treefb731f2a97acda16c95887a1a1ae52f392abfb48 /wasp/manager.py
parentb5b96bd7760f76d9bb476eb835f49b3c9586ca5c (diff)
wasp: Move the apps into their own directory.
Diffstat (limited to 'wasp/manager.py')
-rw-r--r--wasp/manager.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/wasp/manager.py b/wasp/manager.py
index 6e45518..b9fa084 100644
--- a/wasp/manager.py
+++ b/wasp/manager.py
@@ -1,9 +1,10 @@
-import clock
-import flashlight
-import testapp
import gc
import machine
+from apps.clock import ClockApp
+from apps.flashlight import FlashlightApp
+from apps.testapp import TouchTestApp
+
DOWN = 1
UP = 2
LEFT = 3
@@ -19,9 +20,9 @@ class Manager(object):
self.app = None
self.applications = [
- clock.ClockApp(),
- flashlight.FlashlightApp(),
- testapp.TouchTestApp()
+ ClockApp(),
+ FlashlightApp(),
+ TouchTestApp()
]
self.watch.display.poweron()