Code:
from machine import Pin, UART
uart = UART(0,9600)
while True:
if uart.any():
uart.write('t')
command = uart.readline()
print(command) # uncomment this line to see the recieved data
Connected RC-06 to respberry pi pico to port 0 and 1. I couldn't receive "t" on android serial terminal app. But respberry pi pico is receiving data from android terminal app.