File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
shared-bindings/busdevice Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 48
48
//| :param ~busio.I2C i2c: The I2C bus the device is on
49
49
//| :param int device_address: The 7 bit device address
50
50
//| :param bool probe: Probe for the device upon object creation, default is true
51
- //| .. note:: This class is **NOT** built into CircuitPython. See
52
- //| :ref:`here for install instructions <bus_device_installation>`.
53
- //| Example:
54
- //| .. code-block:: python
51
+ //|
52
+ //| Example::
53
+ //|
55
54
//| import busio
56
55
//| from board import *
57
56
//| from adafruit_bus_device.i2c_device import I2CDevice
Original file line number Diff line number Diff line change 46
46
//| """
47
47
//| Represents a single SPI device and manages locking the bus and the device address.
48
48
//| :param ~busio.SPI spi: The SPI bus the device is on
49
- //| :param ~digitalio.DigitalInOut chip_select: The chip select pin object that implements the
50
- //| DigitalInOut API.
51
- //| :param int extra_clocks: The minimum number of clock cycles to cycle the bus after CS is high.
52
- //| (Used for SD cards.)
53
- //| Example:
54
- //| .. code-block:: python
49
+ //| :param ~digitalio.DigitalInOut chip_select: The chip select pin object that implements the DigitalInOut API.
50
+ //| :param int extra_clocks: The minimum number of clock cycles to cycle the bus after CS is high. (Used for SD cards.)
51
+ //|
52
+ //| Example::
53
+ //|
55
54
//| import busio
56
55
//| import digitalio
57
56
//| from board import *
You can’t perform that action at this time.
0 commit comments