I have such a scheme, the nano transmits the millis () value through the RS485 module, the mega receives this signal and must transmit it to Blynk to the smartphone, everything works separately, I checked the transmission through the Serial, the connection to Blynk is also correct, several reservations at once, transmitted to later, there will be a different value, but this is like a test, and such a frequent interval of calling the timer timer1 in mega to catch the reception of a signal from the RS485 module
#define DIR 6
#define DIR1 7
Pins 10, 11, 12 and 13 are reserved for Ethernet module.
DON'T use them in your sketch directly!
SoftwareSerial RS485(50,51); // (RX,TX)
// ro - RX
// di - TX
/char auth = "Gz2ilfCKCdrdrxoMx76zFRAbB3jFSmMK";
Well, you don’t have any Blynk libraries in your Mega sketch, you aren’t initiating a connection to the Blynk server, you aren’t servicing the Blynk connection via a Blynk.run() command, and you aren’t writing any data to Blynk via Blynk.virtualWrite() commands, so this statement can’t be true.
when I comment on the part when connected to the connection with the blink, then the reception from Rs485 works, when I comment the lines with the blink, the reception from Rs485 starts working, the code works, in parts, but not at the same time =)
outputting the millis () value that comes with nano, but this is when I comment out the connection lines with the blink,
first, I would like to receive a signal via rs485 and see the board in the list of connected on the smartphone