Adafruit-PWM-Servo-Driver-Library icon indicating copy to clipboard operation
Adafruit-PWM-Servo-Driver-Library copied to clipboard

Replaced faulty getPWM with getPWMOn and getPWMOn.

Open kcoaks opened this issue 3 years ago • 0 comments

The existing getPWM implementation always returned 0. This implementation is based on the datasheet for the PCA9685 and examples found on the web. It uses two methods instead of one -- one for the range start and one for the range end. I'm currently using it in a personal project and the returned values are equal to the values I provide for setPWM.

kcoaks avatar Aug 31 '22 14:08 kcoaks