Mercurial > circuitpython-epaper
changeset 1:94467ac67f68 draft
Use settings from example code
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Thu, 05 Apr 2018 19:54:45 +0200 |
| parents | e74698c81c3e |
| children | 48c60546eb7f |
| files | gdew0154t8.py |
| diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gdew0154t8.py Thu Apr 05 19:54:23 2018 +0200 +++ b/gdew0154t8.py Thu Apr 05 19:54:45 2018 +0200 @@ -77,14 +77,14 @@ def reset(self): self._wait() self._command(b'\x00', b'\x00') # reset + self._command(b'\x01', b'\x03\x00\x2b\x2b\x03') # power settings self._command(b'\x06', b'\x17\x17\x17') # booster soft start - self._command(b'\x01', b'\x03\x00\x2b\x2b\x09') self._command(b'\x04') # power on self._wait() - self._command(b'\x00', b'\x33') # panel setting for BW + self._command(b'\x00', b'\x33\x0d') # panel setting for BW self._command(b'\x61', b'\x98\x00\x98') # resolution 152x152 - self._command(b'\x82', b'\x12') # VCOM value 1V - self._command(b'\x50', b'\x87') # VCOM and data interval + self._command(b'\x82', b'\x28') # VCOM value + self._command(b'\x50', b'\x97') # VCOM and data interval self._command(b'\x30', b'\x3c') # PLL control 50Hz self._lut(_LUT_FULL)
