standardize Clear() function
This commit is contained in:
parent
60762ac5a3
commit
bc79769c3f
2 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ try:
|
|||
'''2Gray(Black and white) display'''
|
||||
logging.info("init and Clear")
|
||||
epd.init()
|
||||
epd.clear()
|
||||
epd.Clear()
|
||||
font24 = ImageFont.truetype(os.path.join(picdir, 'Font.ttc'), 24)
|
||||
font18 = ImageFont.truetype(os.path.join(picdir, 'Font.ttc'), 18)
|
||||
font35 = ImageFont.truetype(os.path.join(picdir, 'Font.ttc'), 35)
|
||||
|
|
@ -145,7 +145,7 @@ try:
|
|||
time.sleep(2)
|
||||
|
||||
logging.info("Clear...")
|
||||
epd.clear()
|
||||
epd.Clear()
|
||||
logging.info("Goto Sleep...")
|
||||
epd.sleep()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue