servo test

parent ce72ff74
Showing with 1 additions and 0 deletions
......@@ -24,6 +24,7 @@ var increment = -10;
for(var i=0;i<90;i++){
setTimeout(function(){
motor.servoWrite(pulseWidth);
pulseWidth += -10;
}, 100);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment