added POWER_OFF command to sleep function
This commit is contained in:
parent
56db0d4e19
commit
0ccee61931
1 changed files with 2 additions and 0 deletions
|
|
@ -635,6 +635,8 @@ class EPD:
|
||||||
# self.send_data(0xa5)
|
# self.send_data(0xa5)
|
||||||
# self.ReadBusy()
|
# self.ReadBusy()
|
||||||
# epdconfig.module_exit()
|
# epdconfig.module_exit()
|
||||||
|
self.send_command(POWER_OFF)
|
||||||
|
self.ReadBusy()
|
||||||
self.send_command(DEEP_SLEEP)
|
self.send_command(DEEP_SLEEP)
|
||||||
self.send_data(0xA5)
|
self.send_data(0xA5)
|
||||||
self.ReadBusy()
|
self.ReadBusy()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue