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
|
|
@ -584,9 +584,6 @@ parameter:
|
|||
******************************************************************************/
|
||||
void EPD_3IN7_Sleep(void)
|
||||
{
|
||||
EPD_3IN7_SendCommand(0X50);
|
||||
EPD_3IN7_SendData(0xf7);
|
||||
EPD_3IN7_SendCommand(0X02); //power off
|
||||
EPD_3IN7_SendCommand(0X07); //deep sleep
|
||||
EPD_3IN7_SendData(0xA5);
|
||||
EPD_3IN7_SendCommand(0X10); //enter deep sleep
|
||||
EPD_3IN7_SendData(0x03);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue