I'm trying to print int to the screen, without printing it to the serial monitor, how can i do it?
Im using Uno's ports 0 and 1 to transmit to nano using RS485 communication,
so I want most of the things to be printed to my PC screen, and only few bits to pass to pors 0 and 1.
Use the SoftwareSerial library and an external serial to USB converter to print to either a second instance of the IDE on a separate COM port or a terminal program such as CoolTerm on a separate COM port
I read now about this lib, cant i do it in a more simple way? something like this maybe:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10,11); // Rx, Tx
void setup() {
mySerial.begin(9600);
Serial.begin(9600);
}
void loop() {
//Serial.println("I'm The master");
delay(1000);
mySerial.print(010101); //send this to the RS 485 via pors 10,11
Serial.println("Text to the PC Screen"); //send this to the screen via ports 0,1
}