Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
output_high(PIN_b0); delAY_us(x1); output_low(PIN_b0); delay_ms(20); } }
x1 = value +1000
They're trying to use the pot as an input device that tells the uC where to send the servo, so no PWM is needed.