Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I don't know what value gets chr if there is no char in the search string
int int1; char chr; sscanf("123A", "%d%c", &int1, &chr);
sscanf("123", "%d%c", &int1, &chr); pc.printf("char %c\n\r", chr); prints "har "
I would like to compare chr against some value to know if chr is empty ...
Best regards, Peter