fix issue
This commit is contained in:
parent
1cc8988612
commit
d71621da40
@ -8,6 +8,9 @@ import traceback
|
||||
|
||||
|
||||
def sendUpdate(message):
|
||||
|
||||
|
||||
draw = ImageDraw.Draw(image)
|
||||
epd = epd2in13.EPD()
|
||||
epd.init(epd.FULL_UPDATE)
|
||||
epd.Clear(0xFF)
|
||||
@ -16,6 +19,7 @@ def sendUpdate(message):
|
||||
image = Image.new('1', (epd2in13.EPD_HEIGHT, epd2in13.EPD_WIDTH), 255) # 255: clear the frame
|
||||
|
||||
# message = "testing 123 what is going\n on ahbfuasdfhkgasyudgfuasykgdf"
|
||||
draw = ImageDraw.Draw(image)
|
||||
|
||||
|
||||
font15 = ImageFont.truetype('wqy-microhei.ttc', 20)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user