I apologize...im confused. How will the PULSOUTs adjust with the signal from the joystick? When I look at the command in the manual, it doesn't appear to give the option to use byte variables. Can you give an example of what it would look like?
Okay...
I've made a code that will control each servo; however, I am also getting a lot of weird behavior from each servo. I believe I am having lots of electrical noise interfering with the system and I wouldn't be surprised if it were also related to my code ( i will include the code in a...
Thank you for this. I apologize I'm fairly new to microcontroller programming and am unfamiliar with this command. Can you give me an example of what the syntax would look like exactly? Would I first need to debug the limits i want for the servo and then set those in this command? I looked in...
Update...
So I got a working code... sort of. This is what I've come up with so far:
Init:
Servo C.2, 150
Main:
readadc C.4, b0
servopos C.2, b1
if b0 < 128 then decX
If b0 > 133 then incX
goto main
decx:
dec b1
goto main
incx:
Inc b1
goto main
This works great! However the new issue is...
I honestly have no idea. That seems to be the impossible part. But what im thinking is when a joystick is moved in one direction the servo motor moves in that direction but if the joystick is moved back to its center (or snaps back to the center) the servo will stop moving and hold its current...
Greetings from California!
I understand that this topic has been discussed heavily but I'm still having some trouble with joystick control. My project is a 5 axis robot arm with each axis being controlled by a servo motor (5 axis = 5 servos, 1 servo per axis, you get it). What I want is to use...