Or a more pointed question: what incarnation of softwareserial would you recommend for my specific situation?
I have a "master" nano that connects to a raspberry pi over (hardware) serial. That nano needs to communicate with two other nanos, and it would be nice if I could use a simple serial interface to do so.
So my plan is that the master nano will be reading/writing (relatively sparse) messages across 3 serial instances (one hardware, two software), and each other nano will be reading/writing on a single software serial instance (each).
I currently set up some example sketches, with a child nano sending some messages to the master. It wasn't "working" (it should "turn on an LED when it receives a message"), so I hooked the software rx/tx pins to an oscilloscope. When I press the button, it does in fact trigger a message, but on the wrong pin! (That is, the rx pin on the child blips out a signal when it should be sending).
So I looked into finding some documentation, and what little I found ( https://www.arduino.cc/en/tutorial/SoftwareSerialExample ) shows an example declaring SoftwareSerial(RX,TX), which is the "correct" order I specified them in my example code...
Anyways, further searching has found piles on piles of different implementations of software serial each obsoleting the other for various reasons. So rather than dig into trying to find (apparently nonexistent) documentation for whatever version is being used by #include <SoftwareSerial.h> via the arduino makefile on a raspberry pi, I figured I should ask if there's some decent gold standard I should be looking to instead.
Thanks for any tips/info!
[edit: I did finally see the documentation was right in front of me- on the side of the page here: https://www.arduino.cc/en/Reference/SoftwareSerial , and so have explicitly confirmed that the order of arguments when initializing is (RX,TX). so, no new info, but at least I found confirmation!]