A
Hi,
I need advice on how to use an input string. The input string comes back from light sensor boards that I am using to guide a robot. I need to find out how to access the numbers in the string so I can use them to write a program to control the robot.
Command sent:
#%+LITEL000000 *\
String comes back like this in Hyperterminal
LITL0 0000
LITL1 0759
LITL2 0014
LITL3 0024
I am using VB6 to program. String will come back on comm port. How do i access part of string? e.g.
if LITL0 > 0400
then call left
Would it be possible to address the parts of the string as "LITL0" / "LITL1"? or is there some other method?
Thank You
I need advice on how to use an input string. The input string comes back from light sensor boards that I am using to guide a robot. I need to find out how to access the numbers in the string so I can use them to write a program to control the robot.
Command sent:
#%+LITEL000000 *\
String comes back like this in Hyperterminal
LITL0 0000
LITL1 0759
LITL2 0014
LITL3 0024
I am using VB6 to program. String will come back on comm port. How do i access part of string? e.g.
if LITL0 > 0400
then call left
Would it be possible to address the parts of the string as "LITL0" / "LITL1"? or is there some other method?
Thank You
