def mpyRead(uart): #by DACC #on 2021GJul22 #used in: testRxD_pico.py #uSD: Fla75S032G #IX Article: 177 #Source: https://ephotocaption.com/a/175/MagPi119.pdf #Used With: ...any( print("in mpyRead") #keep read1 character packet until not any characters txtRead="" bRead="" while uart.any(): aByte=str(uart.read(1)) #show("aByte:",aByte) bRead=bChar(aByte) #show("bRead:",bRead) txtRead=txtRead+bRead #end while return txtRead #end def #/mpyRead.py