def setupAvailablePorts(self):
"""
Purpose:
Determine what ports are available for serial reading and populate the combo box with these options
Input:
None
Output:
None
"""
self.comboBox_serialPort.clear()
listPortInfoObjects = list_ports.comports()
portNames = [x[0] for x in listPortInfoObjects]
self.comboBox_serialPort.addItems(portNames)
minxss_beacon_decoder.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录