Fixed a bug in the sleep function introduced in another version of 3.7inch e-paper.
This commit is contained in:
parent
8dfe2cff0a
commit
395d30e35e
4 changed files with 8 additions and 20 deletions
|
@ -382,10 +382,7 @@ void Epd::Clear(UBYTE mode) {
|
|||
* You can use EPD_Reset() to awaken
|
||||
*/
|
||||
void Epd::Sleep(void) {
|
||||
SendCommand(0X50);
|
||||
SendData(0xf7);
|
||||
SendCommand(0X02); //power off
|
||||
SendCommand(0X07); //deep sleep
|
||||
SendData(0xA5);
|
||||
SendCommand(0X10); //deep sleep
|
||||
SendData(0x03);
|
||||
}
|
||||
/* END OF FILE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue