Servo control

Searching for a while, i found these

where a similar problem was raised & a person suggested something like I thought with analog read & write ()s .