X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/37b04a7ad611fe0578dc3a18248a085df7abe5e1..269ec9cdd28be4392b55d9abf5d52db08b760932:/i2cdisplaybus/__init__.py diff --git a/i2cdisplaybus/__init__.py b/i2cdisplaybus/__init__.py index bcc8e4c..c8d6441 100644 --- a/i2cdisplaybus/__init__.py +++ b/i2cdisplaybus/__init__.py @@ -6,10 +6,10 @@ # SPDX-License-Identifier: MIT """ -`displayio.i2cdisplay` +`i2cdisplaybus` ================================================================================ -displayio for Blinka +i2cdisplaybus for Blinka **Software and Dependencies:** @@ -36,7 +36,7 @@ class I2CDisplayBus: """ 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 @@ -54,7 +54,7 @@ class I2CDisplayBus: self._dev_addr = device_address def __new__(cls, *args, **kwargs): - from ..displayio import ( # pylint: disable=import-outside-toplevel, cyclic-import + from displayio import ( # pylint: disable=import-outside-toplevel, cyclic-import allocate_display_bus, )