lovyan03 / LovyanGFX

SPI LCD graphics library for ESP32 (ESP-IDF/ArduinoESP32) / ESP8266 (ArduinoESP8266) / SAMD51(Seeed ArduinoSAMD51)
Other
1.14k stars 204 forks source link

Green color in grayscale problem #347

Closed gtwht closed 1 year ago

gtwht commented 1 year ago

Hello.

I found a problem with displaying colors for st7789. this problem is described here: https://forum.arduino.cc/t/problem-with-st7789v-displays-green-value-1-and-every-other-uneven-is-gray/700584/13

My solution was to add these lines in Panel_ST7789.hpp :

static constexpr uint8_t CMD_RAMCTRL = 0xB0; CMD_RAMCTRL, 2, 0x00, 0xF0, //0xC0 Без имени-1 Без имени-2

lovyan03 commented 1 year ago

Hello, @gtwht Thanks for bringing this information to my attention ! I was totally unaware of this. I have checked the configuration and confirmed that it works, so I have reflected it in the develop branch.

lovyan03 commented 1 year ago

@gtwht I have released v1.1.5. I believe this Issue has been resolved. Please try it.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.

gtwht commented 11 months ago

Hey!! I have same green problemn with wt32-sc01 plus ( Panel_ST7796 ) The solution to the problem is exactly the same.