Open cherbin opened 3 years ago
To enable portrait mode, try removing the landscape mode define in config.h: https://github.com/juj/fbcp-ili9341/blob/486a32e7f23b41d49b0e9da4845a86709f6f9c8a/config.h#L161
I tried both the OP method and jul's method but neither work for making my 3.5" ili9488 screen..
Hello, I got the portrait mode to work by adding the following in the ILI9488.cpp madctl |= MADCTL_COLUMN_ADDRESS_ORDER_SWAP;
The problem now is it says the width is 480 (long side) and the height is 720 (short) side
How do I fix this ?