I'm trying to get telemetry data to be sent out Serial1 on the NodeMCU board. I read that TX is (by default) mapped to pin D4.
Ultimately, there will be a Raspberry that will be listening for these messages, but I don't have it yet. So to quickly test this, I connected an oscilloscope with Serial decoding to D4 and the GND of the probe to GND on the NodeMCU. The problem is I'm not getting any indication of activity out D4 when I run the following code:
Serial1.begin(9600); Serial1.printf("some text");
Am I wiring the probe correctly? Am I missing another serial command in the sketch?
When I move to the rPI, do I GND both boards together, then write TX (D4) to RX on the rPI?