-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
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
ST7735 1.44" 128x128 weird results #507
Comments
Not sure if I'm violating some github rule, but it is exactly this one: |
Output from Read_User_Setup:
|
The problem is that the ST7735 controller supports displays up to 132x160. You have a 128x128 display and manufacturers map this to different positions in the 132x160 area available. So you have yet another variant of the possible mapping. As the colours look OK, you will have to experiment to determine the offsets your display needs. To do this use the a setup like this: #define ST7735_DRIVER #define ST7735_GREENTAB In rotation 0 try to establish where the corner pixels are, I can then add this display variant to those available. |
Other settings to try are: // #define ST7735_GREENTAB2 |
It's apparently working now. Changing the define ST7735_GREENTAB128 for ST7735_GREENTAB3
` |
OK, as it is a square display you will probably not need to use setRotation() for a different orientation but if you did you would get the odd behavior again. To check if the offsets are indeed OK try: You should see a green rectangle with no missing sides. |
Looks good. So I will close. |
I got this ST7735 working nicely with Adafruit's library. Using TFT_eSPI produces weird results using the examples with Arduino IDE with Setup7_ST7735_128x128.h
Any suggestions ? May this be a bug or perhaps an unsupported board ?
. Please, see attached pics.
BOARD:
![img1](https://user-images.githubusercontent.com/59285630/71597586-1814ac80-2b44-11ea-9f88-fba1c03204ef.jpg)
LocalCustomFonts example:
![img2](https://user-images.githubusercontent.com/59285630/71597690-83f71500-2b44-11ea-87be-d08b92a89062.jpg)
DrawXBitmap example:
![img3](https://user-images.githubusercontent.com/59285630/71597841-097ac500-2b45-11ea-9fd1-013816f70e13.jpg)
UncannyEyes example:
![img4](https://user-images.githubusercontent.com/59285630/71598202-367ba780-2b46-11ea-9b7f-a19480e3f459.jpg)
The text was updated successfully, but these errors were encountered: