Ladies and Gents,
I am stuck with this little issue and searching could not help either.
I have a setup of 2 Arduinos connected with xbees.
The sending Arduino is sending this message every 5 seconds:
<1>
<2>
<3>
etc.
int MeasurementID = 1;
...
Serial.print("<"); // Start Char
Serial.print(MeasurementID);
Serial.print(">"); // end char
MeasurementID++;
...
The receiving Arduino is using this code:
void setup() {
Serial.begin(57600);
mySerial.begin(57600);}
void loop() {
while(mySerial.available() > 0) {
char inChar = mySerial.read();
Serial.print(inChar);
}
}
On the serial monitor I receive this:
<???? <