Reputation: 3
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
Reputation: 437
typically you have to set the DTR line, see FAQ of usb-serial-for-android library
Upvotes: 0