Fixed stubs again

This commit is contained in:
gamblor21 2020-11-01 10:31:31 -06:00
parent 76c1153380
commit 7dd53804a0
2 changed files with 8 additions and 10 deletions

View File

@ -48,10 +48,9 @@
//| :param ~busio.I2C i2c: The I2C bus the device is on
//| :param int device_address: The 7 bit device address
//| :param bool probe: Probe for the device upon object creation, default is true
//| .. note:: This class is **NOT** built into CircuitPython. See
//| :ref:`here for install instructions <bus_device_installation>`.
//| Example:
//| .. code-block:: python
//|
//| Example::
//|
//| import busio
//| from board import *
//| from adafruit_bus_device.i2c_device import I2CDevice

View File

@ -46,12 +46,11 @@
//| """
//| Represents a single SPI device and manages locking the bus and the device address.
//| :param ~busio.SPI spi: The SPI bus the device is on
//| :param ~digitalio.DigitalInOut chip_select: The chip select pin object that implements the
//| DigitalInOut API.
//| :param int extra_clocks: The minimum number of clock cycles to cycle the bus after CS is high.
//| (Used for SD cards.)
//| Example:
//| .. code-block:: python
//| :param ~digitalio.DigitalInOut chip_select: The chip select pin object that implements the DigitalInOut API.
//| :param int extra_clocks: The minimum number of clock cycles to cycle the bus after CS is high. (Used for SD cards.)
//|
//| Example::
//|
//| import busio
//| import digitalio
//| from board import *