# *** UART Test Functions *** printProgramName() testUartLoopBack(uartPortNum = 0, writeBytes = 'uart0 Hello World') testUartLoopBack(uartPortNum = 1, writeBytes = 'uart1 Hello World') # *** Sample output *** ''' >>> %Run -c $EDITOR_CONTENT *** Program Name = tmc2225test60.py Programmer = tlfong01 Date = 2022feb17 *** Begin testUartLoopBack(), ... uartPortNum = 0 writeBytes = uart0 Hello World readBytes = b'uart0 Hello World' End testUartLoopBack(). Begin testUartLoopBack(), ... uartPortNum = 1 writeBytes = uart1 Hello World readBytes = b'uart1 Hello World' End testUartLoopBack(). >>> '''