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

Adding GC9A01A #129

Merged
merged 7 commits into from
Feb 10, 2025
Merged

Adding GC9A01A #129

merged 7 commits into from
Feb 10, 2025

Conversation

BlitzCityDIY
Copy link
Contributor

Adding GC9A01A driver. Tested with Raspberry Pi and EYESPI beret


super().init()

self._block(0, 0, self.width - 1, self.height - 1)
Copy link
Contributor

@FoamyGuy FoamyGuy Feb 10, 2025

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

Copy link
Contributor Author

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

Copy link
Contributor

@FoamyGuy FoamyGuy left a 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!

@FoamyGuy FoamyGuy merged commit 7ababf0 into main Feb 10, 2025
2 checks passed
@BlitzCityDIY BlitzCityDIY deleted the gc9a01a branch February 10, 2025 21:29
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Feb 11, 2025
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
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