from machine import UART
import time
# Configure UART0
uart = machine.UART(0, baudrate=115200)
# Function to send a message over UART
def send_message(message):
    uart.write(message)
# Send "hello" message
send_message("hello")
from machine import UART
import time
# Configure UART0
uart = machine.UART(0, baudrate=115200)
# Function to send a message over UART
def send_message(message):
    uart.write(message)
# Send "hello" message
send_message("hello")