int incomingByte;
void setup() {
//Serial1.begin(9600);
Serial.begin(9600);
}
void loop() {
if (Serial.available()) {
incomingByte = Serial.read();
Serial.print(incomingByte);
}
}
as you can see, I'm only sending 550, each time I press Reset. I have checked with putty, and is sending the integer in the COM port of the sender. but the value that I receive in the receiver port is the one that I mentioned. I have tried with Serial.write, assigning the integer as other type of numbers....(byte, long...etc)
well, I was expecting to send a number, an integer...also I tried the same with Serial.write, without changing anything in the receiver code. but I still have the same problem.