CMD123
doesn't work. But
CMD 123
does.
Curiously the obvious changing to
sscanf (buf, "%s%d", cmd, & val);
doesn't seem to work either?
I'm not a fan of sscanf(), so I don't know if it can be made to work in this case.
a7
CMD123
doesn't work. But
CMD 123
does.
Curiously the obvious changing to
sscanf (buf, "%s%d", cmd, & val);
doesn't seem to work either?
I'm not a fan of sscanf(), so I don't know if it can be made to work in this case.
a7