add 4.01f demo

This commit is contained in:
SSYYL 2021-01-05 15:21:46 +08:00
parent c65eec8e5e
commit 7b958776c8
52 changed files with 11253 additions and 1905 deletions

View file

@ -48,7 +48,7 @@ try:
draw.chord((200, 50, 250, 100), 0, 360, fill = 0)
epd.display(epd.getbuffer(Himage))
time.sleep(3)
epd.Clear()
logging.info("2.Drawing on the Vertical image...")
Himage = Image.new('RGB', (epd.height, epd.width), 0xffffff) # 255: clear the frame
@ -71,7 +71,7 @@ try:
draw.chord((200, 50, 250, 100), 0, 360, fill = 0)
epd.display(epd.getbuffer(Himage))
time.sleep(3)
epd.Clear()
logging.info("3.read bmp file")
Himage = Image.open(os.path.join(picdir, '4.01inch-e-Paper.bmp'))