I started to use the sscanf function to parse commands from serial port and found out that it does not work as it must do. Example:
int i, j = 0x1234; char c = '\0'; i = sscanf("anything", "%d%c", &j, &c);
What version of C51 are you using? Jon
It's C166, latest version.