Open
Description
Today in the "SeedSigner Devs" telegram group, User "BitK" shared info learned from speaking to WaveShare reps in Korea about late-model screens being too bright, then BitK shared a cut/paste of ST7789 code recomendations after referring WafeShare reps to review seedsigner's code base.
After white-space cleanup, the diff with changes and current release for src/seedsigner/hardware/ST7789.py is below
diff -a --strip-trailing-cr /tmp/BitK-ST7789.20250411 ~/seedsigner/src/seedsigner/hardware/ST7789.py
48c48
< self.data(0x00) #self.data(0x00)
---
> self.data(0x70) #self.data(0x00)
61c61
< self.data(0x00)
---
> self.data(0x35)
64c64
< self.data(0x3F)
---
> self.data(0x19)
73c73
< self.data(0x0D)
---
> self.data(0x12)
86,103c86,87
< self.data(0xF0)
< self.data(0x00)
< self.data(0x02)
< self.data(0x01)
< self.data(0x00)
< self.data(0x00)
< self.data(0x27)
< self.data(0x43)
< self.data(0x3F)
< self.data(0x33)
< self.data(0x0E)
< self.data(0x26)
< self.data(0x2E)
<
<
< self.command(0xE1)
< self.data(0xF0)
< self.data(0x07)
---
> self.data(0xD0)
> self.data(0x04)
104a89,95
> self.data(0x11)
> self.data(0x13)
> self.data(0x2B)
> self.data(0x3F)
> self.data(0x54)
> self.data(0x4C)
> self.data(0x18)
107,110c98,107
< self.data(0x16)
< self.data(0x26)
< self.data(0x43)
< self.data(0x3E)
---
> self.data(0x1F)
> self.data(0x23)
>
> self.command(0xE1)
> self.data(0xD0)
> self.data(0x04)
> self.data(0x0C)
> self.data(0x11)
> self.data(0x13)
> self.data(0x2C)
112,115c109,115
< self.data(0x19)
< self.data(0x19)
< self.data(0x31)
< self.data(0x3A)
---
> self.data(0x44)
> self.data(0x51)
> self.data(0x2F)
> self.data(0x1F)
> self.data(0x1F)
> self.data(0x20)
> self.data(0x23)
162c162
< self._spi.writebytes2(pix)
---
> self._spi.writebytes2(pix)
169c169
< self._spi.writebytes2(_buffer)
---
> self._spi.writebytes2(_buffer)
Metadata
Metadata
Assignees
Labels
No labels