Quantcast
Channel: Servo controllers and servos - Pololu Forum
Viewing all articles
Browse latest Browse all 83

Problem with mapping servo range to input values

$
0
0

Hi

I’m having issues with controlling a servo with a pot in a script for a Mini Maestro (12 ch). What I want to achieve is to map a servo range, say around 900 microseconds to 2000 microseconds, to a smaller portion of the full range of the potentiometer input values, say between 100 and 140. I’m tinkering with the example script given in the documentation but can’t seem to find the right conversion to achieve this. Anyone have an idea of how this can be done? Thanks beforehand.

7 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 83

Trending Articles