Added support for ST7735S vscrolling & 160x80 BGR display #126
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 onsetVerticalScrollConfig
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.