New to Blues and new to this Forum. But reasonably experienced with Arduino and serial ports. I’m struggling to get spare UARTs (2 and 3) working on my Swan v3.0, which is plugged into Notecarrier F. All brand new.
I’ve found stuff like this:
HardwareSerial Serial2(PD_6, PA_2);
Serial2.begin() etc
But no luck. Searching this forum on this topic I also found this …
HardwareSerial Serial2(A5, A4);
or this …
HardwareSerial Serial2(PB6, PA2_ALT);
All compiled OK, but nothing actually worked for me (nothing out of Tx).
Can anyone help ?
Also, can anyone tell me where all these pins are defined ? I get PD6, PA2 (these are defined in the Swan data sheet), but PD_6, PA_2, A5, A4 ? I’m definitely missing something. What is the significance of the underscores ? And my Swan data sheet defines A4 and A5 as analog.