0

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.

1 Answers1

0

typically you have to set the DTR line, see FAQ of usb-serial-for-android library

kai-morich
  • 427
  • 2
  • 7