Search found 2 matches
Search found 2 matches • Page 1 of 1
- Fri Jul 26, 2019 11:59 am
- Forum: ESP8266 boards
- Topic: UART Read stopped working Esp8266 v1.11
- Replies: 1
- Views: 291
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'...