adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
Other
4.04k stars 1.2k forks source link

displayio: Make FourWire SPI object available? #1337

Closed dhalbert closed 5 years ago

dhalbert commented 5 years ago

@ATMakersOrg tried an RFM FeatherWing needing SPI on the back of the HalloWing. But since the regular Feather SPI pins are attached to the display and used for the FourWire display object, SPI on the regular pins was not available.

Would it be possible to make that SPI object available via a property, or is it really too dedicated to share?

tannewt commented 5 years ago

Ya, I mean to enable this when I support dynamic initialization of displays. I'm really glad I added locking ages ago.

tannewt commented 5 years ago

We should make it available through board.SPI if it isn't already.

tannewt commented 5 years ago

The shared SPI should be available through board.SPI() now on Hallowing.