I am trying to find on web for some example of slowing down servo speed using potentiometer, but I cant find it.
I am using PIC 16f877A and I have a potentiometer connected on AN0 pin, and when I move potentiometer servo moves same. If I move potentiometer to one end very fast servo will go fast to, so how can I reduce that speed. I mean can I program it to move slower no metter how fast I rotate potentiometer ??
So I am thinking . . . you get your adc result and store it into a variable . . . . call it smartie, just because I never liked using dummy.
So then give your pulseout variable a different name . . . say we call it value.
then use a for next loop
For value = 0 to smartie
pulseout pin value
Just my thoughts . . .
Hi, we are pleased to
see that you are using our forum.
We'd like you to
become a member of our community. Membership is FREE,
please REGISTER and view our forums
without these annoying reminders!
you may post on the forums, download from the file areas and use the
WIKI without interruption.