ucglib
ucglib copied to clipboard
ili9341 get cropped with m5stack esp32 module
Hi all!
I'm trying to get working ucglib with m5stack module that included ili9341 screen and get output cropped by 240x240 pixels
I'm doing init with
Ucglib_ILI9341_18x240x320_HWSPI ucg(/*cd=*/ 27, /*cs=*/ 14, /*reset=*/ 33);
Any advice?
Rotate 90°. 240x320 != 320x240
Same, but rotated.
ucg does not work with m5stack. I did research and got it working.
I did that by adding a new display variant for the ili9341, rotation is not enough.
Here is my branch with proper support. it is not against this repository but against the _arduino version.
https://github.com/f4grx/Ucglib_Arduino/tree/m5stack/
In fact there is even a pull request since january but it was not merged yet :(
https://github.com/olikraus/Ucglib_Arduino/pull/23