Propeller Servo Controller USB help?
Hi, I'm just trying to adapt my software to the Parallax PSCU from the servo driver module I was using.
I don't quite understand how the "low byte, high byte" works to control my servos. My old system
was to send a number between 0 and 255 to turn the servos. Can anyone explain how this works?
Thanks.
Here is the text from the Parallax manual:
Syntax: !SC <channel> <ramp speed> <lowbyte> <highbyte> <CR>
To move a servo to a location you must write a position command to the PSCU. Each position command is comprised of the preamble, the channel, the ramp speed, lowbyte/highbyte of the pulse width in 2 µs increments and a carriage return ($0D). The preamble is !SC. The channel is a byte value from 0 15 (16 31 if this is the second unit in a network). The ramp speed is a byte value from 0 63 that controls the speed the servo moves to its new position.
I don't quite understand how the "low byte, high byte" works to control my servos. My old system
was to send a number between 0 and 255 to turn the servos. Can anyone explain how this works?
Thanks.
Here is the text from the Parallax manual:
Syntax: !SC <channel> <ramp speed> <lowbyte> <highbyte> <CR>
To move a servo to a location you must write a position command to the PSCU. Each position command is comprised of the preamble, the channel, the ramp speed, lowbyte/highbyte of the pulse width in 2 µs increments and a carriage return ($0D). The preamble is !SC. The channel is a byte value from 0 15 (16 31 if this is the second unit in a network). The ramp speed is a byte value from 0 63 that controls the speed the servo moves to its new position.
Comments