incomingArray[x] = Serial.read();
if (incomingArray[x] == '\0')
If the sender is sending ASCII data, incomingArray[ x ] will NEVER be NULL. The NULL is a trigger to the sender to stop sending. The NULL is not sent.
incomingArray[x] = Serial.read();
if (incomingArray[x] == '\0')
If the sender is sending ASCII data, incomingArray[ x ] will NEVER be NULL. The NULL is a trigger to the sender to stop sending. The NULL is not sent.