Closed danowall closed 6 years ago
this isn't a bug, this is just how servos work :) https://learn.adafruit.com/adafruit-crickit-creative-robotic-interactive-construction-kit/makecode-servos#precise-pulses
got it! thank you for these links, this is helpful.
hey @ladyada did we test that setAngle gives the same results as the corresponding function in cirpy or arduino?
we didn't but we can. in cirpy you can adjust the min/max pulse in the servo library and i did that a lot. we also default to 1-2ms in circuitpy https://github.com/adafruit/Adafruit_CircuitPython_Motor/blob/master/adafruit_motor/servo.py#L43
In MakeCode, servo motor doesn't go all the way to 0 degrees when "crickit set servo angle to 0" is used.
Using "crickit set servo pulse to 500" does send servo to 0 degrees, however.