4" ST7796a TFT Display is 90° from what should be normal #2642
-
I have a "generic" 4" TFT LCD which is supposed to have a ST7796 control IC. (i say supposed as I don't yet know how to verify)
My issue is the display is rotated 90° from what it should be, with the TFT_Ellipse code un changed. I changed the line " tft.setRotation(0); // originally was 1". Obtained the same results. Also a TFT_RED screen fill is Blue Where should I start looking. User_Setup.h file is in the library structure (and shown below) Thanks BTW. Thank you for your library. It seems it will be just what I need once the rotation thing is sorted out.
UPDATE-UPDATE--------------------------------------- I used Demo_3D_Cube as written with the same result.
In the above setup the Serial.println(USER_SETUP_ID); so it has not yet read the USER_SETUP_ID or ?? h print = 320 and w = 240 should be h = 320 and w = 480 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved. I must have missed the instruction to copy the User_Setup.h to the \TFT_eSPI\ folder. The User_Setup.h was defaulting to the general on in the TFT_eSPI folder |
Beta Was this translation helpful? Give feedback.
Solved. I must have missed the instruction to copy the User_Setup.h to the \TFT_eSPI\ folder. The User_Setup.h was defaulting to the general on in the TFT_eSPI folder