my goal is to work like this:
if the start of the string = var1 ($IIMWV)
if(strcmp(data, "$IIMWV") == 0)
{
}
write var2(225.0) to somewhere, var3(R) somewhere, etc
data = strtok(NULL, delimiters);
float rVal = atof(data);
data = strtok(NULL, delimiters);
strcpy(var3, data);
I also tried out the atoi function to get the int's out of it
225.0 is not an int. It is a float.
How can I write them away so that I can process it?
That depends on how long you need to persist the values.