From e841d18d11842dda92f67f6605765bb2a6a702fd Mon Sep 17 00:00:00 2001 From: Mauro Piccoto Date: Thu, 30 Aug 2018 01:25:51 +0200 Subject: [PATCH] Power Save Feature for HX1230 display Power save sequence as datasheet indicates at section 8.13 . Achieve less than 0,01mA power consumption with this sequence. --- csrc/u8x8_d_pcf8814_hx1230.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csrc/u8x8_d_pcf8814_hx1230.c b/csrc/u8x8_d_pcf8814_hx1230.c index 7483edcb..c2ce3d26 100644 --- a/csrc/u8x8_d_pcf8814_hx1230.c +++ b/csrc/u8x8_d_pcf8814_hx1230.c @@ -72,8 +72,8 @@ static const uint8_t u8x8_d_hx1230_96x68_powersave0_seq[] = { static const uint8_t u8x8_d_hx1230_96x68_powersave1_seq[] = { U8X8_START_TRANSFER(), /* enable chip, delay is part of the transfer start */ - U8X8_C(0x0a4), /* display off */ - U8X8_C(0x020), /* power off */ + U8X8_C(0x0ae), /* display off */ + U8X8_C(0x0a5), /* All pixels on = powersave */ U8X8_END_TRANSFER(), /* disable chip */ U8X8_END() /* end of sequence */ };