ucglib icon indicating copy to clipboard operation
ucglib copied to clipboard

ili9341 get cropped with m5stack esp32 module

Open pastukhov opened this issue 6 years ago • 5 comments

Hi all! I'm trying to get working ucglib with m5stack module that included ili9341 screen and get output cropped by 240x240 pixels image I'm doing init with Ucglib_ILI9341_18x240x320_HWSPI ucg(/*cd=*/ 27, /*cs=*/ 14, /*reset=*/ 33); Any advice?

pastukhov avatar Nov 08 '18 15:11 pastukhov

Rotate 90°. 240x320 != 320x240

AnHardt avatar Nov 08 '18 22:11 AnHardt

Same, but rotated. image

pastukhov avatar Nov 09 '18 09:11 pastukhov

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.

f4grx avatar Sep 30 '21 09:09 f4grx

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/

f4grx avatar Sep 30 '21 12:09 f4grx

In fact there is even a pull request since january but it was not merged yet :(

https://github.com/olikraus/Ucglib_Arduino/pull/23

f4grx avatar Sep 30 '21 12:09 f4grx