Now I currently trying to receive data from Bluetooth Serial Controller Android app to pyboard. The app can connect to bluetooth module and I try to send character '1' to pyboard, but there is no response. This is my program:
Code: Select all
from pyb import UART
uart = UART(6, 9600)
print(uart.read())
if uart.read():
pyb.LED(3).on()
else:
pyb.LED(3).off()