Search found 2 matches

by Som
Sat Jul 27, 2019 12:14 pm
Forum: ESP8266 boards
Topic: UART Read stopped working Esp8266 v1.11
Replies: 1
Views: 119

Re: UART Read stopped working Esp8266 v1.11

Solved it...had to change the stop bit...not sure why though.
by Som
Fri Jul 26, 2019 11:59 am
Forum: ESP8266 boards
Topic: UART Read stopped working Esp8266 v1.11
Replies: 1
Views: 119

UART Read stopped working Esp8266 v1.11

Hello, I was using the below code on V1.9.1 and it was working fine for last one year. buf=bytearray(15) mv = memoryview(buf) idx = 0 waittimer=0 co2.write(p.encode()+b'\r\n') while idx < len(buf): if co2.any(): bytes_read = co2.readinto(mv[idx:]) idx += bytes_read The response for my usecase was b'...