How to close serial port when closing window with pyqt5

后端 未结 0 1324
梦如初夏
梦如初夏 2021-02-05 05:37

This code reads the output of the arduino fine and live plots the values. But when I close the window, the serial connection doesn\'t close.

import pyqtgraph as p         


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