|
|
@@ -326,7 +326,7 @@ void GxEPD2_426_GDEQ0426T82::_PowerOn()
|
|
|
if (!_power_is_on)
|
|
|
{
|
|
|
_writeCommand(0x22);
|
|
|
- _writeData(0xf8);
|
|
|
+ _writeData(0xe0);
|
|
|
_writeCommand(0x20);
|
|
|
_waitWhileBusy("_PowerOn", power_on_time);
|
|
|
}
|
|
|
@@ -373,7 +373,6 @@ void GxEPD2_426_GDEQ0426T82::_InitDisplay()
|
|
|
|
|
|
void GxEPD2_426_GDEQ0426T82::_Update_Full()
|
|
|
{
|
|
|
- _PowerOn();
|
|
|
_writeCommand(0x21); // Display Update Controll
|
|
|
_writeData(0x40); // bypass RED as 0
|
|
|
_writeData(0x00); // single chip application
|
|
|
@@ -382,20 +381,20 @@ void GxEPD2_426_GDEQ0426T82::_Update_Full()
|
|
|
_writeCommand(0x1A); // Write to temperature register
|
|
|
_writeData(0x5A);
|
|
|
_writeCommand(0x22);
|
|
|
- _writeData(0xd4);
|
|
|
+ _writeData(0xd7);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
_writeCommand(0x22);
|
|
|
- _writeData(0xf4);
|
|
|
+ _writeData(0xf7);
|
|
|
}
|
|
|
_writeCommand(0x20);
|
|
|
_waitWhileBusy("_Update_Full", full_refresh_time);
|
|
|
+ _power_is_on = false;
|
|
|
}
|
|
|
|
|
|
void GxEPD2_426_GDEQ0426T82::_Update_Part()
|
|
|
{
|
|
|
- _PowerOn();
|
|
|
_writeCommand(0x21); // Display Update Controll
|
|
|
_writeData(0x00); // RED normal
|
|
|
_writeData(0x00); // single chip application
|
|
|
@@ -403,4 +402,5 @@ void GxEPD2_426_GDEQ0426T82::_Update_Part()
|
|
|
_writeData(0xfc);
|
|
|
_writeCommand(0x20);
|
|
|
_waitWhileBusy("_Update_Part", partial_refresh_time);
|
|
|
+ _power_is_on = true;
|
|
|
}
|