Closed twotreeszf closed 2 months ago
Have you confirmed that the sample project I provided works correctly if you change the memory data access control?
Please check with 240x240 TFT.
Only DISPLAY_ORIENTATION_PORTRAIT_INVERTED is displayed correctly.
(EDIT) I tested your code. It is not displayed correctly.
while (1) {
ArrowTest(&dev, fx16G, CONFIG_WIDTH, CONFIG_HEIGHT);
WAIT;
}
If you change the memory data access control, the TFT coordinates will change. If you change the memory data access control, what was displayed before the change will not be displayed correctly.
You can check the ST7789 data sheet to see how the memory data access control changes affect you. https://newhavendisplay.com/content/datasheets/ST7789V.pdf
You can configure the display orientation of the screen in menuconfig, and the appropriate cmds will send during driver initialization.