adafruit / Adafruit_CircuitPython_MotorKit

CircuitPython helper library for the DC & Stepper Motor FeatherWing, Shield and Pi Hat kits.
MIT License
86 stars 31 forks source link

Support Different Microsteps Intervals #20

Closed adario7 closed 5 years ago

adario7 commented 5 years ago

Allow the user to specify in the MotorKit constructur how many microsteps shall the the stepper motors do.

ladyada commented 5 years ago

im into this but maybe lets make it a settable property? :)

adario7 commented 5 years ago

i'm not familiar with the motor library, but form what i've seen the StepperMotor object only allows setting the microsteps when creating the object. that kinda makes it impossible to make it into a settable property

ladyada commented 5 years ago

ok then make the variable start with an underscore _