I know that's not the whole program...
When are you going to help us help you?
I wouldn't think that your code is some sort of state secret, is it?
I know that's not the whole program...
When are you going to help us help you?
I wouldn't think that your code is some sort of state secret, is it?
And it looks to me like you're trying to drive more than one servo...8 of them?
Is your power supply up to the task?
Are you up to the task?
You should probably know (if you've done any research on the subject of driving servo's) that servo's require a multiple updates per second to hold their position without going all over the place, usually about 50 timers per second, some more, most less per second will do.
You code...8 servo pulses, say 2.5ms maximum, totals at 20ms.
At most, you can go thru that loop 50 times per second.
You've got all those extra pauses in there, which brings the total update rate per second down to less than one update per second...
Have you thought about getting rid of those pauses?
Yes this is not the whole program. Im just starting to know how to make the servomotor move. i would like to ask help from you if you can help me? Im just a begginner. Please kindly help me.
www.google.com
Search on 'SERVO'
www.picbasic.co.uk/forum
Search on 'SERVO'
www.any-search-engine-out-there.com
Search on 'SERVO'
yes i try to get rid of the pauses but when i test it, id like to make a bipedal robot, and yes i would like to control 8 servo, 4 servos for each leg, is 20 ms pause is ok for changing pulse position on every servo?
Does not compute...Does not compute...Does not compute...
Danger...Danger...Danger Will Robinson...Danger Will Robinson...
Bookmarks