Skip to content

Narrow servo pulse range; add post-constructor accessors

Compare
Choose a tag to compare
@dhalbert dhalbert released this 03 Jul 17:55
e0b709f
  • Add Servo.fraction as a public property. Check that setter value is in range.
  • Add Servo.actuation_range as a public property.
  • Add Servo.set_pulse_width_range().
  • Simplify DCMotor.throttle.
  • Improve documentation.

To use in CircuitPython, download the .mpy file and copy it to the lib folder on the CIRCUITPY drive. Or, simply install the Adafruit CircuitPython bundle.

Read the docs for info on how to use it.