-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update ssd1680_simpletest.py #9
Conversation
Added comment on setting for MonoChrome version .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Want to add a separate example for the monochrome display?
@tannewt Will have a go at the weekend and update this pull request. |
Thank you! |
I think maybe adjusting the offset by adding a |
probably would be a good idea to verify #5 at the same time. sadly, I do not have the hardware to make the tests. |
Added column_corection argument to ssd1680 to set colstart so can be adjusted in simpletest to fix issue adafruit#10 and can still work with previous sampletest file if needed as only tested on ESP32-S2.
@makermelissa @jposada202020 @tannewt Have made an update to the ssd1680 and simpletest example that works now on both mono and tri colour featherwings. As cannot test on other devices have made clostart default to 1 unless set otherwise so ssd1680 will still work previous simpletest versions. |
Not sure why the Formatting checks have failed? |
dave-ct is because of the formating. Error: reformatted adafruit_ssd1680.py from (https://github.com/adafruit/Adafruit_CircuitPython_SSD1680/actions/runs/4187808124/jobs/7258138283) this is easily fixed using https://learn.adafruit.com/improve-your-code-with-pylint/check-your-code-with-pre-commit Let me know if you need more help :) |
@jposada202020 that did the job, checks all passed now. Thanks for the pointer. |
@dave-ct I will take a look over the weekend, hopefully, thanks again :) |
Hi, for the driver, because of the Since the code is likely already in use, you should also check if it was in kwargs and default to 1 if not. This way we can have the intended functionality without breaking anything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's the changes I suggested.
Co-authored-by: Melissa LeBlanc-Williams <melissa@adafruit.com>
Co-authored-by: Melissa LeBlanc-Williams <melissa@adafruit.com>
Co-authored-by: Melissa LeBlanc-Williams <melissa@adafruit.com>
Co-authored-by: Melissa LeBlanc-Williams <melissa@adafruit.com>
Corrected guidance comment
@makermelissa much cleaner way than what I did. Tested fine on my devices. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. thanks.
If different devices need a different colstart setting, then it'd be ideal to have separate examples for them. That's easier than reading comments and changing code. |
Oops, yeah. I guess I merged too soon. |
Updating https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306 to 1.6.0 from 1.5.11: > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306#31 from dglaude/0.49''-64-x-32 > Add upload url to release action > Add .venv to .gitignore Updating https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3731 to 3.3.7 from 3.3.6: > Merge pull request adafruit/Adafruit_CircuitPython_IS31FL3731#53 from EAGrahamJr/fade_52 > Add upload url to release action > Add .venv to .gitignore Updating https://github.com/adafruit/Adafruit_CircuitPython_PN532 to 2.3.16 from 2.3.14: > Merge pull request adafruit/Adafruit_CircuitPython_PN532#63 from caternuson/iss44 > Merge pull request adafruit/Adafruit_CircuitPython_PN532#62 from caternuson/iss49 > Add upload url to release action > Add .venv to .gitignore Updating https://github.com/adafruit/Adafruit_CircuitPython_RFM69 to 2.1.14 from 2.1.13: > Merge pull request adafruit/Adafruit_CircuitPython_RFM69#44 from jerryneedell/jerryn_size > Add upload url to release action > Add .venv to .gitignore > Update .pylintrc for v2.15.5 > Fix release CI files > Update pylint to 2.15.5 > Updated pylint version to 2.13.0 > Switching to composite actions Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1675 to 1.1.16 from 1.1.15: > Merge pull request adafruit/Adafruit_CircuitPython_SSD1675#14 from jposada202020/updating_example > Add upload url to release action > Add .venv to .gitignore > Update .pylintrc for v2.15.5 > Fix release CI files > Update pylint to 2.15.5 > Updated pylint version to 2.13.0 > Switching to composite actions Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1680 to 1.0.14 from 1.0.12: > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#12 from jposada202020/adding_breakout_example > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#11 from jposada202020/main > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#9 from dave-ct/128 > Add upload url to release action > Add .venv to .gitignore > Update .pylintrc for v2.15.5 > Fix release CI files > Update pylint to 2.15.5 > Updated pylint version to 2.13.0 > Switching to composite actions Updating https://github.com/adafruit/Adafruit_CircuitPython_Touchscreen to 1.2.0 from 1.1.17: > Merge pull request adafruit/Adafruit_CircuitPython_Touchscreen#23 from rtwfroody/invert > Add upload url to release action > Add .venv to .gitignore > Update .pylintrc for v2.15.5 > Fix release CI files > Update pylint to 2.15.5 > Updated pylint version to 2.13.0 > Switching to composite actions Updating https://github.com/adafruit/Adafruit_CircuitPython_AirLift to 1.0.9 from 1.0.8: > Merge pull request adafruit/Adafruit_CircuitPython_AirLift#8 from glenrobertson/patch-1 > Add upload url to release action > Add .venv to .gitignore > Update .pylintrc for v2.15.5 > Fix release CI files > Update pylint to 2.15.5 > Updated pylint version to 2.13.0 > Switching to composite actions Updating https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation to 2.7.0 from 2.6.6: > Merge pull request adafruit/Adafruit_CircuitPython_LED_Animation#105 from FoamyGuy/multicolor_comet Updating https://github.com/adafruit/Adafruit_CircuitPython_MatrixPortal to 3.0.11 from 3.0.10: > Merge pull request adafruit/Adafruit_CircuitPython_MatrixPortal#88 from Lnk2past/master > Add upload url to release action > Add .venv to .gitignore > Update .pylintrc for v2.15.5 > Fix release CI files > Update pylint to 2.15.5 > Updated pylint version to 2.13.0 > Switching to composite actions Updating https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT to 7.3.1 from 7.3.0: > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#156 from vladak/suback_var_payload > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#153 from vladak/back_off_tests Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA: > Updated download stats for the libraries
Added comment on how to change display height for Monochrome version to work correctly