VB6 3 Byte Serial Command

If you are programming with Vb6 and you are sending a 3 byte serial command and the servo controller has zero as the first servo you might run into a problem if you send the command comObject.Output Chr$(255) & Chr$(0) & chr$({position]). The Chr$(0) which is the Null character in VB6 is treated in some cases a string terminator or line terminator. For example, the Software Innovations Comm ActiveX control will only send the sync byte (255) because it sees the Chr$(0) as the line terminator instead of as servo zero. Use Format$(0) instead of chr$(0). It’s still just one byte unless you get beyond 9 servos.

Hello.

Thank you for the tip!

- Zeeshan