Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ili9341 get cropped with m5stack esp32 module #100

Open
pastukhov opened this issue Nov 8, 2018 · 5 comments
Open

ili9341 get cropped with m5stack esp32 module #100

pastukhov opened this issue Nov 8, 2018 · 5 comments

Comments

@pastukhov
Copy link

pastukhov commented Nov 8, 2018

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?

@AnHardt
Copy link

AnHardt commented Nov 8, 2018

Rotate 90°.
240x320 != 320x240

@pastukhov
Copy link
Author

Same, but rotated.
image

@f4grx
Copy link

f4grx commented Sep 30, 2021

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
Copy link

f4grx commented Sep 30, 2021

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
Copy link

f4grx commented Sep 30, 2021

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

olikraus/Ucglib_Arduino#23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants