bookmaker32
USA
Asked
— Edited
On the v4 we have 4 ports designated to UART. The command asks for a port ie. UARTInit(0,0,9600) the first is the board the second is the port and the third is the data. What do you put in the second to indicate the Tx and Rx ports on v4?
There are several UART command when you open/edit Script . Just do UART search under Script Help
there is also UART example available in ARC(EZ-Script Function Syntax)
You may also refer to a recent post https://synthiam.com/Community/Questions/6241
There are only three UART designations 0, 1, & 2. The firmware determines which digital port is used during a receive or transmit command.
That would be 3 UART ports... No need to designate RX and Tx ports...
Sample code on how to use them is below (using a Roomba)... using uart port 3