Help with servo controller
I'm using the 16 servo Parallax servo controller on a 18f4520 using UART (software). I'm having trouble trying to figure out how to do this in C since the examples in the documentation for the servo controller are in PBASIC? any examples of controlling the servo in C? Thanks in advance.
Comments
Good luck.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
ch = 0x00
ra = 0x20
pw.LOWBYTE = 0x03
pw.HIGHBYTE = 0xF4
we are putting each character into one array. Using a for loop to run through the array, we are writeing each character to the serial out followed by a delay. Is this the wrong way to send the command to the servo controller?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com