# # send data to the second UART # it is connected to # Rx: GPIO 17 # Tx: GPIO 16 from machine import UART uart = UART(2,115200) uart.write('Hello World\r\n') uart.write('This is a message written to ESP32 UART2 using MicroPython\r\n')