st7789_mpy icon indicating copy to clipboard operation
st7789_mpy copied to clipboard

Sorry for the dumb question

Open yomasa opened this issue 1 year ago • 2 comments

All the fonts on the display are mirrored backwards I'm using a 240 by 320 display, how do I fix that?

yomasa avatar Aug 09 '22 22:08 yomasa

You can set the direction and orientation of the drawing by changing the MADCTL register value using the madctl method and the MADCTL_M? constants. The cfg_helper.py program in the examples folder can be helpfull in determining the MADCTL value(s) you need for your display.

russhughes avatar Aug 10 '22 04:08 russhughes

See: https://github.com/russhughes/st7789_mpy#madctl-examples for example MADCTL values.

russhughes avatar Aug 11 '22 03:08 russhughes