pyserial non-blocking __exit__

后端 未结 0 1359
时光说笑
时光说笑 2021-01-28 18:13

I am writing to a serialport using pyserial (3.4) and its context manager. When a write_timeout occurs I want to close and exit without waiting for 30s. Is this possible?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题