We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from adafruit_rgb_display.st7789 import ST7789 display.fill(color565(255, 0, 0))
The text was updated successfully, but these errors were encountered:
Some displays are BGR order rather than RGB or the other way around. For now, you can either try changing the MADCTL value at https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display/blob/main/adafruit_rgb_display/st7789.py#L146 from 0xC0 to 0xC8 or the one at https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display/blob/main/adafruit_rgb_display/st7789.py#L101 from 0x08 to 0x00. Honestly though, it's common enough that we should add a parameter to do this automatically. Also, we should probably change it to be done in one operation rather than 2.
0xC0
0xC8
0x08
0x00
Sorry, something went wrong.
Hi Mel, I'm using - 1.8" TFT Display Breakout and Shield with an EYESPI breakout
To fix this issue on st7735 in class ST7735R(ST7735):
Change (_MADCTL, b"\xc8"), to (_MADCTL, b"\xc0"),
works for me
No branches or pull requests
The text was updated successfully, but these errors were encountered: