ESP32C3 + ST7735S: The black fill of the display doesn't work correctly #2768
Replies: 6 comments
-
Method of fixing: enable erasing the entire flash before loading the script. |
Beta Was this translation helpful? Give feedback.
-
The fix has stopped working |
Beta Was this translation helpful? Give feedback.
-
This problem occurs because there is an offset of the 160x80 display zone within the maximum resolution area of the driver chip (132x162). You could try using:
Instead of:
If that causes problems with colours, then it is necessary to edit the offsets here: f you do not want to modify the library, then the other option is to define the display as full resolution and use the setViewport function to compensate for the offset. Eventually I will add a new parameter to allow users to change the offsets. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
replacing with |
Beta Was this translation helpful? Give feedback.
-
Use the setViewport function to compensate for the offset. You can determine the offsets by experimentation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Bodmer.
I have a problem with the ST7735S display.
My user setup:
Example code:
Beta Was this translation helpful? Give feedback.
All reactions