numato-gpio:用于Numato GPIO扩展器的Python API

时间:2021-02-11 05:07:26
【文件属性】:
文件名称:numato-gpio:用于Numato GPIO扩展器的Python API
文件大小:22KB
文件格式:ZIP
更新时间:2021-02-11 05:07:26
Python Numato GPIO扩展器的Python API 该Python API可用于控制。 将端口配置为输入或输出端口 写入输出端口 从输入端口读取 从ADC输入端口(1-7)读取整数值 注册输入端口事件的回调(边缘检测) 有关版本的详细信息,请参见。 安装 安装最新的开发版本: pip install --user git+https://github.com/clssn/numato-gpio.git 安装最新版本: pip install --user numato-gpio 使用CLI 测试是否可以在运行python3 -m numato_gpio类的命令行界面的设备上找到您的设备。 请记住,要将您的用户加入dialout组,因为设备已注册为/ dev / ttyACMx(即调制解调器设备)。 预期产量: ❯ python3 -m numato_gpio dev: /d
【文件预览】:
numato-gpio-master
----requirements-dev.txt(45B)
----changelog.md(4KB)
----.coveragerc(58B)
----.github()
--------workflows()
----tests()
--------common.py(118B)
--------test_init.py(885B)
--------conftest.py(575B)
--------serialmock.py(3KB)
--------test_notify.py(1KB)
--------test_main.py(742B)
----tox.ini(86B)
----LICENSE(1KB)
----src()
--------numato_gpio()
----sys_tests()
--------test_numato.py(644B)
----setup.cfg(30B)
----requirements.txt(14B)
----doc()
--------troubleshooting.md(3KB)
----setup.py(792B)
----.gitignore(171B)
----Makefile(1KB)
----README.md(3KB)
----.vscode()
--------launch.json(412B)
--------settings.json(179B)

网友评论