Good morning! I'm not 100% sure if this should be in the rp2040 channel or the circuit python channel. So trying here. I've been trying to set up a UART connection. TX & RX. Transmission works fine, but I can't seem to receive anything. I've narrowed it down to the Pico. I've plugged GP0 into GP1 for this example... though what I'm trying to do is use a second device for sending, which was giving me no good results.
Here is my example code:
import board
import busio
import time
uart = busio.UART(tx=board.GP0, rx=board.GP1)
while True:
uart.write(bytes("k", 'utf-8'))
data = uart.read(32) # read up to 32 bytes
print(data) # this is a bytearray type
if data is not None:
# convert bytearray to string
data_string = ''.join([chr(b) for b in data])
print(data_string, end="")
I get just a bunch of None's. I've tried with two different pico's and two different jumpers.
