From bb06503bc6e5e27c4bda3bb4359ec82cfb3b5ed5 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Sat, 3 Feb 2024 14:02:03 -0600 Subject: initial checkin --- mock_epd.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 mock_epd.py (limited to 'mock_epd.py') 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})") -- cgit v1.2.3