Adafruit_Motor_Shield_V2_Library
Adafruit_Motor_Shield_V2_Library copied to clipboard
Arduino library for Adafruit Motor Shield v2!
This library implement its own PCA9685 interface with code in the `utlility` directory. Some of that conflicts with the separate PCA9685 library [Adafruit-PWM-Servo-Driver-Library](https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library) which throws compiler warns when the two...
Warnings when using "Adafruit-PWM-Servo-Driver-Library" and "Adafruit_Motor_Shield_V2_Library" in same sketch. There are only some additional #ifndef and no changes into the logic of the library.
The "Adafruit_MS_PWMServoDriver::reset" function writes the value 0 to the PCA9685_MODE1 register. This does not actually reset the chip. The docs https://cdn-shop.adafruit.com/datasheets/PCA9685.pdf section 7.6 show how to reset the chip by...
…Motor(). A value of 0 is used at the same time to signal non initialised and the number of the motor. As there is no need for a motor to...
Arduino delayMicroseconds() doesn't work for values larger than about 16K and this broke the step() delay calculation causing almost random speed results for many RPM settings. Added longDelayMicrosecond() function to...
In `getMotor`, to determine if the motor are init'd, you test the value of member `motornum` (line 72) with zero and assign `num` to `motornum` (line 74). In the case...
Thank you for creating a pull request to contribute to Adafruit's GitHub code! Before you open the request please review the following guidelines and tips to help it be more...