test2
This commit is contained in:
parent
91a5aaee41
commit
dd272b8922
4
main.py
4
main.py
@ -26,11 +26,11 @@ try:
|
||||
# draw.pieslice((55, 60, 95, 100), 270, 360, fill = 0)
|
||||
# draw.polygon([(110,0),(110,50),(150,25)],outline = 0)
|
||||
# draw.polygon([(190,0),(190,50),(150,25)],fill = 0)
|
||||
message = "testing 123"
|
||||
message = "testing 123 what is going on ahbfuasdfhkgasyudgfuasykgdf"
|
||||
while True:
|
||||
font15 = ImageFont.truetype('wqy-microhei.ttc', 15)
|
||||
draw.text((110, 60), '{}'.format(message), font = font15, fill = 0)
|
||||
epd.display(epd.getbuffer(image))
|
||||
# epd.display(epd.getbuffer(image))
|
||||
time.sleep(2)
|
||||
|
||||
# # read bmp file
|
||||
|
||||
Loading…
Reference in New Issue
Block a user