How to send the value of integer variables from one arduino to another through the serial port, identifying each variable to be able to read those values and be able to use them in variables, in a kind of master and slave.
Please Need Some Help.
How to send the value of integer variables from one arduino to another through the serial port, identifying each variable to be able to read those values and be able to use them in variables, in a kind of master and slave.
Please Need Some Help.
What's wrong with the simple way that Robin2 discusses?
int var1 = 14;
int cutterNumber = 1238;
Serial.print("<var1 = ");
Serial.print(var1);
Serial.print(">");
Serial.print("<cutterNumber = ");
Serial.print(cutterNumber);
Serial.print(">");