def on_closing(self):
if messagebox.askokcancel("Quit", "Do you want to quit?"):
self.pfr.init_board( { 'value': 0,
'direction': 0,
'pullup': 0},
{ 'value': 0,
'direction': 0, # Makes all pins outputs outputs
'pullup': 0})
self.root.destroy()
bench_computer_complete.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录