sizing and loc
This commit is contained in:
parent
107ee33680
commit
3f56b40b0d
2
main.py
2
main.py
@ -29,7 +29,7 @@ try:
|
|||||||
message = "testing 123 what is going on\n ahbfuasdfhkgasyudgfuasykgdf"
|
message = "testing 123 what is going on\n ahbfuasdfhkgasyudgfuasykgdf"
|
||||||
while True:
|
while True:
|
||||||
font15 = ImageFont.truetype('wqy-microhei.ttc', 20)
|
font15 = ImageFont.truetype('wqy-microhei.ttc', 20)
|
||||||
draw.text((0, 60), '{}'.format(message), font = font15, fill = 0)
|
draw.text((3, 3), '{}'.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