udayakumar
08-24-04, 06:34 PM
Hi,
I want to store command messages to my gps reciever as constant strings. I used the word CREATE to store the strings. But i am not able to retrive any characters from that string.
HEX OK
CREATE MSGS-OFF 15 C, 24 C, 50 C, 52 C, 49 C, 49 C, 4C C, 4F C, OK
47 C, 2C C, 3F C, 3F C, 3F C, 2C C, 56 C, 2C C, 2C C, 2C C, 2A C, 35 C, 34 C, OK
MSGS-OFF 1 + C@ . -1 OK
MSGS-OFF 2 + C@ . -1 OK
What is wrong with this code. Why am i getting only -1's.
Thanks in advance
I want to store command messages to my gps reciever as constant strings. I used the word CREATE to store the strings. But i am not able to retrive any characters from that string.
HEX OK
CREATE MSGS-OFF 15 C, 24 C, 50 C, 52 C, 49 C, 49 C, 4C C, 4F C, OK
47 C, 2C C, 3F C, 3F C, 3F C, 2C C, 56 C, 2C C, 2C C, 2C C, 2A C, 35 C, 34 C, OK
MSGS-OFF 1 + C@ . -1 OK
MSGS-OFF 2 + C@ . -1 OK
What is wrong with this code. Why am i getting only -1's.
Thanks in advance