adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
MIT License
3.97k stars 1.16k forks source link

Split displayio into `displaycore`, `externalframebufferio`, `framebufferdisplayio` and `epaperdisplaypio` (names TBD) #7667

Closed tannewt closed 8 months ago

tannewt commented 1 year ago

This will save space on boards that have an existing display and are unlikely to have an external epaper display (like pew pew m4).

tannewt commented 9 months ago

We should go further with this as we have more boards with displays that aren't supported by displayio.Display(). (Dotclock displays use FramebufferDisplay for example. We should split displayio.Display out as well as Epaperdisplay.

tannewt commented 9 months ago

displayio.Display support LCD and OLED displays that have driver ICs with onboard framebuffer RAM. We should rename it to reflect that.

Also, should we split out the different display busses as well?

makermelissa commented 9 months ago

Also, should we split out the different display busses as well?

That makes sense because paralleldisplay is already split out unless it would be more overhead.

deshipu commented 9 months ago

Can we use busdisplay instead of externalframebufferio?

tannewt commented 9 months ago

Can we use busdisplay instead of externalframebufferio?

Ya, totally open to different module names.