import time
from machine import Pin, UART
print("Starting the script")
# Kezdjük az UART0 konfigurálással és egy egyszerű adattal:
try:
uart0 = UART(0, baudrate=115200, tx=Pin(0), rx=Pin(1))
print("UART0 initialized")
uart0.write('Hello from UART0\n')
print("Data sent through UART0")
except Exception as e:
print("Error with UART0:", e)
time.sleep(1)
print("Hello usb2")
time.sleep(1)
print("Hello usb3")
print("End of script")