Skip to content

Commit

Permalink
servo.write updated
Browse files Browse the repository at this point in the history
servo.write: even if new pos is equal to old pos pulses will be created
for at least 1 sec.
  • Loading branch information
MicroBahner committed Sep 21, 2017
1 parent 8d316f6 commit ad47b30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MobaTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,7 @@ void Servo8::write(int angleArg)
servoData.soll= newpos ;
interrupts();
}
servoData.offcnt = OFF_COUNT; // auf jeden Fall wieder Pulse ausgeben
}
}

Expand Down

0 comments on commit ad47b30

Please sign in to comment.