This is probably kind of a stupid question, but I’m going to ask anyway.
In a line of code like the one below, how do I know for which USART on my main board is referred to as “COM1” etc.
SerialPort UART = new SerialPort(“COM1”, 115200);
I realize I can figure it out by writing stuff on the serial line and measuring on which UART I can detect it. But I expect that some in the documentation I should be able to determine this without the guesswork. Or is it simply that UART0 of the mainboard relates to “COM1” and UART1 relates to “COM2” etc?