jeffmer / micropython-ili9341

Micropython Driver for ILI9341 display
MIT License
118 stars 42 forks source link

Update ili934xnew.py to fix Wemos screens #1

Closed lukewhiting closed 1 year ago

lukewhiting commented 5 years ago

This PR makes the height and width of the screen a variable during class instantiation as well as including a flag to mirror the screen as the default seems to be to set the memory mode to mirror which is incorrect for the Wemos / Lolin screens (And drove me mad for about 2 days trying to work out why everything was backwards 😆)

All changes made are non breaking.