|
16 | 16 |
|
17 | 17 | **Hardware:**
|
18 | 18 |
|
19 |
| - "* `DC Motor + Stepper FeatherWing <https://www.adafruit.com/product/2927>`_" |
20 |
| - "* `Adafruit Motor/Stepper/Servo Shield for Arduino v2 Kit |
21 |
| - <https://www.adafruit.com/product/1438>`_" |
22 |
| - "* `Adafruit DC & Stepper Motor HAT for Raspberry Pi - Mini Kit |
23 |
| - <https://www.adafruit.com/product/2348>`_" |
| 19 | +* `DC Motor + Stepper FeatherWing <https://www.adafruit.com/product/2927>`_ |
| 20 | +* `Adafruit Motor/Stepper/Servo Shield for Arduino v2 Kit <https://www.adafruit.com/product/1438>`_ |
| 21 | +* `Adafruit DC & Stepper Motor HAT for Raspberry Pi - Mini Kit |
| 22 | + <https://www.adafruit.com/product/2348>`_ |
24 | 23 |
|
25 | 24 | **Software and Dependencies:**
|
26 | 25 |
|
|
52 | 51 | class MotorKit:
|
53 | 52 | """Class representing an Adafruit DC & Stepper Motor FeatherWing, Shield or Pi Hat kit.
|
54 | 53 |
|
55 |
| - Automatically uses the I2C bus on a Feather, Metro or Raspberry Pi if no I2C bus |
56 |
| - is supplied. |
| 54 | + :param int address: I2C address of PCA9685 PWM controller. Default address is ``0x60``. |
| 55 | + :param busio.I2C i2c: I2C bus object to use. If not specified, use ``board.I2C()``. |
57 | 56 |
|
58 |
| - Alternately, if using with multiple I2C devices, you can specify the I2C bus.""" |
| 57 | + .. note:: |
| 58 | + ``board.I2C()`` uses the default I2C bus frequency of 100 kHz. To speed up |
| 59 | + motor control, use an I2C bus frequency of 400 KHz, or if available, 1 MHz. |
| 60 | + The PCA9685 controller supports both of these higher speeds. |
| 61 | + This will noticeably speed up stepper motor operation when many steps are requested. |
| 62 | +
|
| 63 | + :param int steppers_microsteps: Number of microsteps per step for stepper motors. Default is 16. |
| 64 | + :param float pwm_frequency: defaults to 1600 Hz |
| 65 | + """ |
59 | 66 |
|
60 | 67 | def __init__(
|
61 | 68 | self,
|
|
0 commit comments