aboutsummaryrefslogtreecommitdiff
path: root/mock_epd.py
blob: 83e772b2877717846e72ac2ad59fb649f40fb1ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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})")