ST7735 inverted colors
See original GitHub issueI’m following on from issue #79 which has now been merged.
I bought a similar LCD display from pimoroni
Works great, however, if I run python3 examples/colors.py -f conf/st7735.conf
the colours are inverted.
For ‘red’ I get yellow, ‘green’ turns magenta, etc.
Same goes for any example, not just color.py.
And I have no idea what the --bgr
flag does but it didn’t make a difference for me.
For this display I changed the conf file to
--display=st7735
--interface=spi
--spi-bus-speed=16000000
--gpio-data-command=9
--gpio-backlight=19
--width=160
--height=80
--backlight-active=high
--spi-cs-high=true
--spi-device=1
--v-offset=26
--h-offset=1
Does anybody have a suggestion? Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (2 by maintainers)
Top Results From Across the Web
ST7735R Inverted Colors - LoBo
Here's a pic of 3 rectangles in red, green and blue. They show up as cyan, magenta and yellow. Looks like the hex...
Read more >St7735 0.96" 160x80 shows wrong colors - Arduino Forum
The order should be White-Blue-Red-Yellow-Green but the actual results were different. It was White-Red-Blue-Cyan-Green.
Read more >Problem about color in ST7735 · Issue #86 - GitHub
Arduino board: ESP32. Arduino IDE version: 1.8.9. I can use the ST7735 screen on ESP32 ,but only one problem is about the color....
Read more >tft.setTextColor(ST7735_BLUE); but TFT shows text color Red
This leads me to believe that the bit order of the colors is also reversed. Follow @ScruffR's advice to change the byte and...
Read more >Using the ST7735 1.8" Color TFT Display with Arduino
The ST7735 TFT display is a 1.8″ display with a resolution of 128×160 pixels and can display a wide range of colors (...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, updating Pillow worked. And the --inverse flag works now too.
sorry for non-reply, … i get so many notifications from github that they often get classified as spam and end up in the junk folder.
@jackjameshoward I’ll add your conf file to the examples repo