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

Added support for ST7735S vscrolling & 160x80 BGR display #126

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

Conversation

nekuneko
Copy link

@nekuneko nekuneko commented Jul 6, 2020

  • Describe the scope of your change: Related to the pull-requests Add init method for ST7735S (RGB, 80x160) #124 and add support for another 160x80 module #118 I manage to make work my 160x80 mini BGR display module by performing these changes:
    - Added two methods to manage hardware vscrolling on ST7735S driver.
    - Changed init and inverted color behaviour to match the color scheme for 160x80 mini BGR.
    - Changed _colstart and _rowstart values to match the 160x80 mini BGR bounds.
    - Added madctl variable in order to simplify the code on setVerticalScrollConfig method.
    - Added Arduino script to test all these changes all.

  • Describe any known limitations with your change. These changes are thanks to the code viewed on https://simple-circuit.com/st7735-tft-vertical-scrolling-ccs-c/ tutorial.

  • Please run any tests or examples that can exercise your modified code. I've tested the new testing sketch code on Adafruit Feather M0 and Adafruit Feather M4 succesfully. Please test it in your platforms and let me know if these changes works for you.

nekuneko added 3 commits July 6, 2020 21:05
This kind of display, tipically selled on the internet with ST7735S driver, looks like to be BGR, use different bounds coordinates, and the color scheme is inverted by default. Hardware vscroll is available on ST7735S driver, see datasheet for more information.  These changes are thanks to the code viewed on https://simple-circuit.com/st7735-tft-vertical-scrolling-ccs-c/ tutorial.
Also includes ST7735S 160x80 mini BGR color scheme test.
Changes to match esp8266 needs
@mcookdev
Copy link

I hope this can get sorted out, I am using these displays and it would be nice to have them work without weirdness.

@nekuneko
Copy link
Author

Please, feel free to test the changes, if any issue please post it and we will discuss it. :D

@mcookdev
Copy link

Please, feel free to test the changes, if any issue please post it and we will discuss it. :D

Will do. So far, so good 👍

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.

2 participants