cp2102 and python
Posted: Thu Oct 02, 2014 10:45 am
Code: Select all
import serial
sp="/dev/ttyUSB0"
port = serial.Serial(sp)
while True:
port.write("AT+RST")
rcv = port.read(10)
print rcv
dont work, please help!