Communicating two Arduino Nano using SoftwareSerial

If you are going to use Serial, have a look at Serial Input Basics, the way you are sending/receiving could potentially get out of synchronization.

Not really a problem in the example code, but mystr is actually 6 bytes, the last byte being the terminating null character.

1 Like