Driving a roboclaw motor controller with the basic stamp
Hello, I would like to drive a roboclaw motor controller with my basic stamp. Would someone please tell me the equivalent of this BasicAtom pro line ( Serout P15, i19200, [128, 5, 127, (260 & 0X7F)] ) for a Basic Stamp 2? Thank you in advance for your help.

Comments
Edit: when I say click on help I mean the book icon with question mark in it on the right end of all of the icons at the top of the editor
Please decode the BA command ( Serout P15, i19200, [128, 5, 127, (260 & 0X7F)] )
Serout on Port 15 @ 19200 baud
Data output is [128, 5,127, (260 AND 0x7F)]
If you go to the AtomPro website you can download the AtomPro manual. On pg 211 there is a guide to converting Basic Stamp programs to AtomPro MBasic. So you should be able to easily reverse the proces.
Thanks in advance.
' {$STAMP BS2} ' {$PBASIC 2.5} 'constants Baud CON 32 '19200 baud for BS2 TxPin CON 15 'BS2 transmit pin 'variables a VAR Byte b VAR Byte c VAR Byte d VAR Byte 'program DO a = 128 b = 5 c = 127 d = (a + b + c) & $7f SEROUT TxPin, Baud, [a, b, c, d] LOOPJim