Ah, but now when I do this:
value= (atoi(msg[3])*100)+(atoi(msg[4])*10)+(atoi(msg[5])*1);
I get the error:
invalid conversion from 'char' to 'const char*'
Ah, but now when I do this:
value= (atoi(msg[3])*100)+(atoi(msg[4])*10)+(atoi(msg[5])*1);
I get the error:
invalid conversion from 'char' to 'const char*'