You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -82,7 +82,7 @@ Next, define where the bit is located in the device's memory map:
82
82
world = i2c_bit.RWBit(0x1, 0x0)
83
83
"""Bit to indicate if world is lit."""
84
84
85
-
Lastly, we need to add an ``i2c_device`` member of type `I2CDevice <https://circuitpython.readthedocs.io/projects/busdevice/en/latest/api.html#adafruit_bus_device.i2c_device.I2CDevice>`_
85
+
Lastly, we need to add an ``i2c_device`` member of type `I2CDevice <https://docs.circuitpython.org/projects/busdevice/en/latest/api.html#adafruit_bus_device.i2c_device.I2CDevice>`_
86
86
that manages sharing the I2C bus for us. Make sure the name is exact, otherwise
87
87
the registers will not be able to find it. Also, make sure that the i2c device
88
88
implements the `busio.I2C` interface.
@@ -177,7 +177,7 @@ we must implement ``__get__`` and ``__set__``.
177
177
As you can see, we have two places to get state from. First, ``self`` stores the
178
178
register class members which locate the register within the device memory map.
179
179
Second, ``obj`` is the driver class that uses the register class which must by
180
-
definition provide a `I2CDevice <https://circuitpython.readthedocs.io/projects/busdevice/en/latest/api.html#adafruit_bus_device.i2c_device.I2CDevice>`_ compatible
180
+
definition provide a `I2CDevice <https://docs.circuitpython.org/projects/busdevice/en/latest/api.html#adafruit_bus_device.i2c_device.I2CDevice>`_ compatible
181
181
object as ``i2c_device``. This object does two thing for us:
182
182
183
183
1. Waits for the bus to free, locks it as we use it and frees it after.
@@ -195,7 +195,7 @@ used a bunch of times.
195
195
Documentation
196
196
=============
197
197
198
-
API documentation for this library can be found on `Read the Docs <https://circuitpython.readthedocs.io/projects/register/en/latest/>`_.
198
+
API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/register/en/latest/>`_.
0 commit comments