I I think I see the problem.
char receivedChars[numChars]; is 4 bytes. an int is only 2 bytes so dataNumber = atoi(receivedChars); does not work; How to do that?
I I think I see the problem.
char receivedChars[numChars]; is 4 bytes. an int is only 2 bytes so dataNumber = atoi(receivedChars); does not work; How to do that?