¿ªÔÆÌåÓý

KD8CEC Standalone Source vs Hex missmatch on Pin definitions?


 

Been staring at the source for Ian Lee's standalone S-meter and SWR. See?

In uart_forward.cpp, at line 75 and 78 we have the definition of PINs for passthru of the Nextion protocol from the main processor:

#define TX_PIN 9
#define RX_PIN 8

However, if you look at his explanation at:?

In the illustration, he is clearly using RX pin (D!) for read from the main nano..Output is D9 as specified above.? The pre-compiled Hex files use RX/D1 and D9 so the diagram is correct.

Is this just a difference in the final selection of which pins to use and the source is just out of synch with the pre-generated HEX files? Or is there something more subtle that I am just missing. (I had thought that using RX on a nano was problematical because it is hardwired to the USB connection).

Thanks for any enlightenment you can share.?

73
Mark
AJ6CU

Join [email protected] to automatically receive all group messages.