-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Implement the TFT_eSPI fix from ILI9341_2_DRIVER #550
Comments
Setting rotation 6 seems to have had no effect at all. |
Does the board have a USB-C type connector or MicroUSB? It seems they release a new revision of the board with USB-C and a different display controller. |
with USB-C, after building with rotate 6 the image was still flipped. I removed the rotation and flashed again. The initial TFT_ROTATION can be left at 0 and then use the http site to set it to 0 degrees mirrored. To get the screen to at least render to the correct pixels I just did: This still leaves the touch screen flipped in both X and Y, but that can probably be configured somewhere. |
p.s. I am new to this repository and figuring this out as I go XD My initial read of the user-manual pointed me here: Hence my assumption that this might or might not be related / help. Here is some data from the info section, just in case it might be useful. ModuleModel | ESP32-D0WD-V3 rev3 |
Managed to get it working:
Display and Touch are now working.
|
It is still weird to me that the device requires the mirror to be set and then disabled, but I can live with this setup step. |
Is your feature request related to a problem? Please describe.
When i build for my esp32-2432s028, using the esp32-2432s028r configuration, the screen is mirrored.
Also I need to set the height as the width to get it to render the correctly.
Describe the solution you'd like
According to the manual that came with the device, it requires the User_Setup.h of the TFT_eSPI library to declare ILI9341_2_DRIVER instead of ILI9341_DRIVER
but ILI9341_DRIVER is used in various locations throughout the project.
Describe alternatives you've considered
I will look into mirroring the output, that will get me one step closer without needing modifications.
rotation 6 did not seem to mirror it, but I will update this request when I have investigated further.
Since TFT_eSPI is not used in openHASP (outside of testing?), perhaps investigating what they did differently with that pragma could fix the display.
Additional context
The text was updated successfully, but these errors were encountered: