aboutsummaryrefslogtreecommitdiff
path: root/mock_epd.py
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2024-02-03 14:02:03 -0600
committerMatt Singleton <matt@xcolour.net>2024-02-03 14:02:03 -0600
commitbb06503bc6e5e27c4bda3bb4359ec82cfb3b5ed5 (patch)
treec771393004197b698c20b3778829054a1e9b3896 /mock_epd.py
initial checkin
Diffstat (limited to 'mock_epd.py')
-rw-r--r--mock_epd.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/mock_epd.py b/mock_epd.py
new file mode 100644
index 0000000..83e772b
--- /dev/null
+++ b/mock_epd.py
@@ -0,0 +1,26 @@
+import logging
+
+logger = logging.getLogger(__name__)
+
+class EPD(object):
+
+ def init(self):
+ logger.debug("init()")
+
+ def Clear(self):
+ logger.debug("Clear()")
+
+ def display(self, image):
+ logger.debug("display()")
+
+ def getbuffer(self, image):
+ logger.debug("getbuffer()")
+
+ def sleep(self):
+ logger.debug("sleep()")
+
+class epdconfig(object):
+
+ @staticmethod
+ def module_exit(cleanup=True):
+ logger.debug(f"module_exit(cleanup={cleanup})")