#By D@CC #On 2021 E May 19 #Article: 164.html selectCode 00 #uSD: none #Source: unknown import os import utime import machine #Functions used # os.uname() # .Pin() # .value() # .sleep() # .UART() # .write() # .any() # .read() #print sys info print(os.uname()) #indicate program started visually led_onboard = machine.Pin(25, machine.Pin.OUT) led_onboard.value(0) # onboard LED OFF for 0.5 sec utime.sleep(0.5) led_onboard.value(1) #print uart info uart = machine.UART(1) print(uart) uart.write("hello") utime.sleep(0.1) while uart.any(): print(uart.read(1)) print() print("- bye -") #/textLoop_pico.py