You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the example load24bitImages if I set rotation to a 1 or 3 (portrait mode) the image will not display. I am using an Adafruit 5" tft and a Teensy 3.2. Text rotate fine.
Thanks...Mike
The text was updated successfully, but these errors were encountered:
For what it is worth, I found that I had the same issue. Simply trying to draw an image I had stored in an array.
The issue is with the function drawPixels, that does not work properly in portrait mode. I believe this is because the underlying stuff is simply swapping the usage of what is horizontal and what is vertical...
A couple of us have been doing some work to make this driver work on the newer Teensy boards, in particular T4. We have a good working version up at: https://github.com/mjs513/RA8875/tree/RA8875_t4
One of the last things I added in our version is a function that is in some of our other drivers.
This function fills a rectangle on the screen with the bitmap data pointed to by pcolors. If in portrait mode, it will call drawPixels with a temporary buffer, where it will grab the pixels from the opposite direction... in order to get it right on the display...
Using the example load24bitImages if I set rotation to a 1 or 3 (portrait mode) the image will not display. I am using an Adafruit 5" tft and a Teensy 3.2. Text rotate fine.
Thanks...Mike
The text was updated successfully, but these errors were encountered: