regulation

Arrch:

xvjeko:
I think the way of mine thinking is pretty clear, but if any doubts i can further explain...

It's not. "Picking the wrong values" doesn't really tell me your issue.

What is your sketch designed to do?

What values is the com port "picking"?

What values are you expecting and why?

sketch is designed to pick values from 2 ultrasonic sensors, and depending on the values picked,
operate 2 servo motors (motors need to recieve angles from 0 to 90, and im picking values from -400 to 800)