Little tip: Control your servo with your potentiometer

You can find the rescale block in the advanced section of your operators category.

Your potentiometer has a range from 0 to 1023. Your servo has a range from -90 to 90 degrees (180 in total).

The rescale block rescales the range of your potentiometer to the range of the servo. So instead of 0 to 1023 your potentiometer acts like it has a range from -90 to 90.

This way it gives you the ability to change the rotation of your servo 1 degree at a time.

I was thinking about a project to make with this, but couldn't think of one at the moment.

Maybe some of you know what you can do with this......... 😁

The rescale block is really powerful. 💪

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!