Thursday, June 24, 2004

I Become a Beta Tester for Servo Mojo

And I begin my odyssey with HEX coding.

Hi Keith,
On Thu, Jun 24, 2004 at 06:04:17PM -0400, Keith Rowell wrote:

> I'm having great success with realterm and it's "send numbers" feature. I want to switch to wide mode "0x00 0x00 0x07" is that the correct code? And "0x00 0x00 0x06" to change it back?

The thing to note is that in narrow mode, the address is just 1 byte, while in wide mode, the address is 2 bytes. So to switch from narrow to wide, you'd use: 0x00 0x00 0x07 (
) And to switch from wide back to narrow, you'd need to send a 2-byte address byte followed by the command byte as follows: 0x00 0x00 0x00 0x06 ( )

Also, what is the code for say address 60 in wide mode? "0x00 0x3c" ?

Yes, that would be correct. And address 60 in wide mode would correspond to the velocity value for servo 1. I'm glad you are making progress with it!
-Brian
--
Brian Dean
http://www.bdmicro.com/

No comments: