zhouF96

Results 5 comments of zhouF96

![image](https://user-images.githubusercontent.com/24969018/58399067-7bf46580-8089-11e9-8cc6-fd90a5dd8181.png) Arduino nano with chg340 driver chip. using python 3.7. Os Ubuntu 18.04 64 bit. Python is in default path of Ubuntu.

__init__(self):方法中应该只包含插件的基本信息,不占用端口资源等,与外界交互的逻辑部分/或有资源释放的部分应该写在run(self):方法下,run方法中,gui界面打勾的话,调用插件的run方法,并且将插件的self._running设置为true,不打勾的话,跳出self._running的循环,在循环后释放资源。

可能改成这样OK? @bilikyar @wwj718 ```python import zmq import subprocess import pathlib import platform import time import threading import os from time import sleep from pymata_aio.pymata3 import PyMata3 from pymata_aio.constants import Constants...

@bilikyar 这样改的话就OK了,测试没问题,注意调用board.shutdown()方法解除对tty的占用并结束线程 @wwj718 ```python import zmq import subprocess import pathlib import platform import time import threading import os import asyncio from time import sleep from pymata_aio.pymata3 import PyMata3 from pymata_aio.constants...