You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest making ServoManager::createServo take 2 extra params: "microseconds for 0" and "microseconds to 180". As default / backwards compatibility in the API, when nothing is passed you can use the current hardcoded constants. Storing them in instance variables allows for this flexibility. Other libs have a similar approach, see https://www.arduino.cc/en/Reference/ServoAttach
The text was updated successfully, but these errors were encountered:
I suggest making ServoManager::createServo take 2 extra params: "microseconds for 0" and "microseconds to 180". As default / backwards compatibility in the API, when nothing is passed you can use the current hardcoded constants. Storing them in instance variables allows for this flexibility. Other libs have a similar approach, see https://www.arduino.cc/en/Reference/ServoAttach
The text was updated successfully, but these errors were encountered: