-
Notifications
You must be signed in to change notification settings - Fork 9
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 HX8357 driver to 8.x/9.x transitional code #23
Conversation
TFT FEatherwing display driver needs updating for 9.0
adafruit_hx8357.py
Outdated
"""HX8357D driver""" | ||
|
||
def __init__(self, bus: displayio.FourWire, **kwargs) -> None: | ||
def __init__(self, bus: FourWire.FourWire, **kwargs) -> None: |
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.
The type annotation now just be FourWire
, but this is great, thanks!
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.
One small change, but otherwise, this is great! Good find and fix.
Thanks! I helped someone in discord with this exact issue last night and never dawned on me to check the typing I set here. Doh! Also got Github Desktop sorted out. It's submitting all line endings in LF format only. No more thousands of pylint CRLF line ending errors. |
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.
This looks great, thank you!
Updating https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SH1107 to 1.6.2 from 1.6.1: > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_SH1107#20 from FoamyGuy/display_root_group_fix Updating https://github.com/adafruit/Adafruit_CircuitPython_HX8357 to 1.4.2 from 1.4.1: > Merge pull request adafruit/Adafruit_CircuitPython_HX8357#23 from DJDevon3/main Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Text to 3.1.0 from 3.0.6: > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#203 from FoamyGuy/outlined_label Updating https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing to 1.15.2 from 1.15.1: > Merge pull request adafruit/Adafruit_CircuitPython_FeatherWing#82 from tekktrik/dev/change-arg-name Updating https://github.com/adafruit/Adafruit_CircuitPython_RSA to 1.2.21 from 1.2.20: > Merge pull request adafruit/Adafruit_CircuitPython_RSA#41 from FoamyGuy/json_key_file_example Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA: > Updated download stats for the libraries
3.5" TFT Featherwing display driver needs updating for 9.0. Added 8.x to 9.x transitional code so it should work in either 8.x or 9.x Only tested in 9.x, needs 8.x testing. In 9.x the previous driver commit would bring up future warnings.
These are now addressed with this commit and no warnings are present while using 9.0