This commit is contained in:
Sean Corrigan 2020-11-13 17:06:11 -05:00
parent dd272b8922
commit 37936215f8

View File

@ -28,8 +28,8 @@ try:
# draw.polygon([(190,0),(190,50),(150,25)],fill = 0) # draw.polygon([(190,0),(190,50),(150,25)],fill = 0)
message = "testing 123 what is going on ahbfuasdfhkgasyudgfuasykgdf" message = "testing 123 what is going on ahbfuasdfhkgasyudgfuasykgdf"
while True: while True:
font15 = ImageFont.truetype('wqy-microhei.ttc', 15) font15 = ImageFont.truetype('wqy-microhei.ttc', 20)
draw.text((110, 60), '{}'.format(message), font = font15, fill = 0) draw.text((0, 60), '{}'.format(message), font = font15, fill = 0)
# epd.display(epd.getbuffer(image)) # epd.display(epd.getbuffer(image))
time.sleep(2) time.sleep(2)