test2
This commit is contained in:
parent
dd272b8922
commit
37936215f8
4
main.py
4
main.py
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user