mirror of
https://github.com/usatiuk/EggbotWireless.git
synced 2025-10-26 16:57:48 +01:00
fix servo not disengaging
This commit is contained in:
@@ -18,7 +18,7 @@ void Pen::engage() {
|
||||
|
||||
void Pen::disengage() {
|
||||
if (engaged) {
|
||||
for (int i = posEngaged; i > posDisengaged; i++) {
|
||||
for (int i = posEngaged; i < posDisengaged; i++) {
|
||||
servo.write(i);
|
||||
delay(5);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user