im currently trying to write a program for a BS2 to control the CM11a. I have the baud rate down, and i understand how to obtain the numbers. My question is what are the numbers Like hex, or decimal? Looking at the com protocol given with cm11a...
0x04,0x66 Address A1
0x6a Checksum ((0x04 + 0x66)&0xff)
0x00 OK for transmission.
0x55 Interface ready.
0x04,0x6e Address A2
0x72 Checksum ((0x04 + 0x6e)&0xff)
0x00 OK for transmission.
0x55 Interface ready.
looking at this i think hex numbers because of the "6e". however its not working for me. here's what my code looks for address A1...
SEROUT 1, 16780, [HEX 04]
SEROUT 1, 16780, [HEX 66]
PAUSE 10
SEROUT 1, 16780, [HEX 00]
PAUSE 10
if any would could clarify this i would appreciate it.
thanks