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

Support for Landscape native ILI9341 modules, and RGB (vs BGR) modules. #67

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SmittyHalibut
Copy link

I bought some cheap ILI9341 modules off eBay and they were landscape instead of portrait, and they RGB instead of BGR. This PR provide support for both these differences.

This PR is backwards compatible; with no changes to your user code, this module operates exactly as before.

But if you've got a landscape native module, call setLandscape() then setRotation() to apply the change.

Similarly, if you've got an RGB native module, call setRGB() then setRotation() to apply the change. (It's coincidence that both these changes are set at the same time by setRotation().)

… default (vs BGR). This change is backward compatible, defaults to existing behavior. Call setLandscape() and setRGB() before calling setRotation() to apply.
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

Successfully merging this pull request may close these issues.

1 participant