-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
I wondered if you could add a function like this to the servo control code. It is to detach the servos and thus make them loose power. This is handy for shutting the robot down in an emergency for example. i am not familiar enough with your code yet so i can not implement it myself.
Here is the piece of code from the normal arduino Servo.cpp:
void Servo::detach() { servos[this->servoIndex].Pin.isActive = false; timer16_Sequence_t timer = SERVO_INDEX_TO_TIMER(servoIndex); if(isTimerActive(timer) == false) { finISR(timer); } }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels