jeffmer / micropython-ili9341

Micropython Driver for ILI9341 display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ili934xnew.py module has mixed settings

RaSTuS26 opened this issue · comments

Hi Jeff, I've noticed some of the settings in the ili934xnew.py module are mixed up, here are my findings.

Test platform: M5Go

Width and height are mixed up and opposite of what's expected

The rotations are mapped oddly too:
r=0 mirrored 0 degrees
r=1 mirrored 90 degrees
r=2 mirrored 180 degrees
r=3 mirrored 270 degrees
r=4 normal 180 degrees
r=5 normal 270 degrees
r=6 normal 0 degrees
r=7 normal 90 degrees

Hope this is helpful information for you.

Thanks - these are from an update to the repository by vitasam.