Closed nexus166 closed 3 years ago
just had to swap offset and screen size values
@boochow you might be interested in this https://github.com/nexus166/st77xx_mpy, it is a fork of st7789 driver adapted to function decently with st7735 too. I also just published a docker build environment that can be used to easily inject C drivers/apps in the micropython firmware, the result is a much faster experience with the display!
hi!
First of all, I can't thank you enough! This library is the only solution I've found to get the TFT to work on my M5StickC with the latest MicroPython code release and ESP-IDF!
My issue is I can't find a way to use the screen in landscape mode, meaning printing text horizontally. I've messed around a lot with the rotation/offset but I could only achieve "portrait" mode which on the StickC is not feasible given the 80x160 size and the position on the wrist when used in combo with the armband.
I have set
ScreenSize = (80, 160)
and this is my initialization code (AXP192 setup is already handled):Thanks in advance :)