):
# pylint: disable=too-many-locals,invalid-name, too-many-branches
"""Create a Display object on the given display bus (`fourwire.FourWire` or
- `paralleldisplay.ParallelBus`).
+ `paralleldisplaybus.ParallelBus`).
The ``init_sequence`` is bitpacked to minimize the ram impact. Every command begins
with a command byte followed by a byte to determine the parameter count and if a
definition.
:param display_bus: The bus that the display is connected to
- :type _DisplayBus: fourwire.FourWire or paralleldisplay.ParallelBus
+ :type _DisplayBus: fourwire.FourWire or paralleldisplaybus.ParallelBus
:param ~circuitpython_typing.ReadableBuffer start_sequence: Byte-packed command sequence.
:param ~circuitpython_typing.ReadableBuffer stop_sequence: Byte-packed command sequence.
:param int width: Width in pixels
"""
def __init__(self, i2c_bus: busio.I2C, *, device_address: int, reset=None):
- """Create a I2CDisplay object associated with the given I2C bus and reset pin.
+ """Create a I2CDisplayBus object associated with the given I2C bus and reset pin.
The I2C bus and pins are then in use by the display until displayio.release_displays() is
called even after a reload. (It does this so CircuitPython can use the display after your