adafruit / Adafruit-PWM-Servo-Driver-Library

Adafruit PWM Servo Driver Library
Other
477 stars 311 forks source link

Update setPWM return behavior #98

Closed caternuson closed 1 year ago

caternuson commented 1 year ago

For #96.

This was basically a pre-BusIO docstring that never got updated. The BusIO library would need to be changed to allow passing the return of endTransmission. For now, added some simple logic to return 0/1 based on BusIO's true/false return of write.

Tested using servo example from this library.

caternuson commented 1 year ago

@ladyada for review