So the output in the serial monitor for the transmitter is:
5 L/hour
3 L/hour
etc.
Receiver Code:
while (Serial.available()>0)
{
Serial.write(Serial.read());
delay(500);
}
My problem is that on the serial monitor output, the output does not come out one line at a time BUT rather it comes out one letter/number a time in a sluggish/slomo way.
My problem is that on the serial monitor output, the output does not come out one line at a time BUT rather it comes out one letter/number a time in a sluggish/slomo way.
Let me guess. About a half a second between characters. Maybe this is the culprit:
The problem is that it is sending a letter/number of the line each time as opposed to sending the entire line at once. I think it is because of the serial available loop. It is printing the serial numbers of each line one at a time as opposed to a whole line at once. I need to somehow gather the serial numbers of one line in an array and write it.