user2626709
user2626709

Reputation: 3

Unable to display sensor reading from Respberry pi pico to android serial terminal through RC-06

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.

Upvotes: 0

Views: 43

Answers (1)

kai-morich
kai-morich

Reputation: 437

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

Upvotes: 0

Related Questions