-
Notifications
You must be signed in to change notification settings - Fork 54
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
Adding GC9A01A #129
Adding GC9A01A #129
Conversation
adafruit_rgb_display/gc9a01a.py
Outdated
|
||
super().init() | ||
|
||
self._block(0, 0, self.width - 1, self.height - 1) |
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.
@BlitzCityDIY What does this call to self._block()
here do? If you're still set up to test on RPi can you check if everything still works if this is commented out or removed?
I tested under CircuitPython with a QTPY esp32-S2 and found that this statement blocks execution during the display initializer, so the given example code never gets past the line
display = gc9a01a.GC9A01A(spi,cs=digitalio.DigitalInOut(tft_cs),dc=digitalio.DigitalInOut(tft_dc))
If I comment this call to self._block()
out then the display initializes and drawing on it seems to work as expected from circuitpython
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.
tested and _block wasn't doing anything so just removed that
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 good to me, tested successfully on QTPY-S2 with eyespi bff. Thank you!
Updating https://github.com/adafruit/Adafruit_CircuitPython_OV5640 to 1.2.4 from 1.2.3: > Merge pull request adafruit/Adafruit_CircuitPython_OV5640#35 from jerryneedell/jerryn_buffer Updating https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display to 3.13 from 3.12.7: > Merge pull request adafruit/Adafruit_CircuitPython_RGB_Display#129 from adafruit/gc9a01a Updating https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT to 7.11.5 from 7.11.4: > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#238 from dhalbert/test_recv_timeout
Adding GC9A01A driver. Tested with Raspberry Pi and EYESPI beret