add 2in13b_V4 code
This commit is contained in:
parent
62605bf8af
commit
dd40a58b19
30 changed files with 11675 additions and 4 deletions
|
@ -67,13 +67,13 @@ try:
|
|||
epd.display(epd.getbuffer(LBlackimage), epd.getbuffer(LRYimage))
|
||||
time.sleep(2)
|
||||
|
||||
# logging.info("3.read bmp file")
|
||||
logging.info("3.read bmp file")
|
||||
Blackimage = Image.open(os.path.join(picdir, '2in13bc-b.bmp'))
|
||||
RYimage = Image.open(os.path.join(picdir, '2in13bc-ry.bmp'))
|
||||
epd.display(epd.getbuffer(Blackimage), epd.getbuffer(RYimage))
|
||||
time.sleep(2)
|
||||
|
||||
# logging.info("4.read bmp file on window")
|
||||
logging.info("4.read bmp file on window")
|
||||
blackimage1 = Image.new('1', (epd.height, epd.width), 255) # 298*126
|
||||
redimage1 = Image.new('1', (epd.height, epd.width), 255) # 298*126
|
||||
newimage = Image.open(os.path.join(picdir, '100x100.bmp'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue