Requested — Edited

WISH LIST - Auto Connect Check Box And Servo Buttons Score 1730

Hi guys,

I can't find a wish list area, so I'm posting this here. If there is a wish list area, please move this post there.

I would like to see an Auto Connect checkbox in the connections setup. and a Min and Max buttons and slide bar added to servo Controls, is this possible?

User-inserted image

Thanks for listening Steve

Want to see this feature happen? Like it to increase the score.

Related Hardware LattePanda
Related Control Horizontal Servo

ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

PRO
Synthiam
#9   — Edited

You can use the Servo.increment() in JavaScript in a loop with a short sleep() after each command:)

im on my phone so I’ll try to type and example for you ...


function moveSlow(var servo, var position) {

var start = Servo.getPosition(servo);

if (position < start) {

for (var x = position; x > start; x-) {
  
  Servo.decrement(servo, 1);
  sleep(250);
}

} else {

for (var x = position; x > start; x++) {
  
  Servo.increment(servo, 1);
  sleep(250);
}

}

}

moveSlow(d0, 130);
moveSlow(d0, 30);