This compiles --
#include <HardwareSerial.h>
HardwareSerial mpwav(1);
void setup()
{
mpwav.begin(9600,SERIAL_8N1,5,7); // rx 5 (not used) → tx 7 for DHY
}
The cheatsheet tells us about
Serial1.begin(9600, SERIAL_8N1,rxpin, txpin);
I could just carry on with Serial1.print("xyz"); I suppose
but how do I change that (what's there in 'code tags') without using the HardwareSerial #include -- so that I can use mpwav.print("xyz"); ?