GreatWhiteNorth
New Member
I have a servo moving the head of my robot and when I use the servopos command to sweep the head back and forth, it looks like he's had a bit too much cafine! The servopos command is in a loop. I want to set the head position and then do other stuff (ie. readadc, check distances, issue other servopos commands for the tracks). The more stuff I try to do between servopos commands, the more jitter I get. If I don't to anything else but "pause", ie simple code that just issues servoposes followed by long pauses, the servo has no jitter at all.
I'm using a 28X1 part with firmware v5
Here is the code I'm having problems with.
I'm using a 28X1 part with firmware v5
Here is the code I'm having problems with.
Attachments
-
6.3 KB Views: 18