简易和快速modi python api包。
pymodi的Python项目详细描述
=====
pymodi
=====
图片::https://img.shields.io/pypi/v/pymodi.svg
:目标:https://pypi.python.org/pypi/pymodi
…图片::https://img.shields.io/pypi/pyversions/pymodi.svg
:目标:https://pypi.python.org/pypi/pymodi
…图片::https://img.shields.io/travis/luxrobo/pymodi.svg
:目标:https://travis ci.org/luxrobo/pymodi
…图片::https://readthedocs.org/projects/pymodi/badge/?version=latest
:目标:https://pymodi.readthedocs.io/en/latest/?徽章=最新
:alt:文档状态
…图片::https://pyup.io/repos/github/luxrobo/pymodi/shield.svg
:目标:https://pyup.io/repos/github/luxrobo/pymodi/
:alt:updates
easy和fast modi python api包。
*免费软件:mit license
*文档:https://pymodi.readthedocs.io.
features
--
*连接到modi网络模块并控制输入&;输出模块。
*列出modi网络模块的串行端口。
*打开或关闭modi模块的pnp模式。
*获取每个模块的位置信息。
build status
----
master:
。图片::https://travis-ci.org/luxrobo/pymodi.svg?branch=master
:目标:https://travis ci.org/luxrobo/pymodi
开发:
……图片::https://travis-ci.org/luxrobo/pymodi.svg?分支=开发
:目标:https://travis ci.org/luxrobo/pymodi
----
>如果尚未安装最新的pymodi,请安装它::
导入“modi”包并创建“modi”实例::
import modi
bundle=modi.modi()
list连接的模块:
bundle.modules
列出连接的LED模块,并选择第一个:
bundle.led列表。
bundle.led[0]\pick.
让我们将LED灯闪烁5次:
import time
led=bundle.led[0]
led.on()
time.sleep(1)
led.off()
time.sleep(1)
credits
----
此包是使用Cookiecutter和“Audreyr/Cookiecutter PyPackage”项目模板创建的。
_ Cookiecutter:https://github.com/audreyr/Cookiecutter
。_` audreyr/cookiecutter-pypackage`:https://github.com/audreyr/cookiecutter-pypackage
==
==
=
=
=
=
=
=
====
=
=
<0.1.1.1(2018-07-20)
=>
=>
=
<修复。
*包的包含路径
>0.1.2(2018-07-23)0.1.2(2018-07-07-23)0.1.2(2018-07-23)
-
-
<方法。
*删除重复的
<0.3.0(2018-07-07-28)0.3.0(2018-07-07-28)0.3.0(2018-07-07-28)0.3.1(2018-07-07-28)0.3.0(2018-07-07-07.7)0.3.0(2018-07-07-07.7)0.0(2018-07-07-7)0.3.0(2018-07-07.7)0
-
-
-------
*将项目名称更改为pymodi。
0.5.1(2018-11-07)
-------
*修复26(未连接modi网络模块)问题。
pymodi
=====
图片::https://img.shields.io/pypi/v/pymodi.svg
:目标:https://pypi.python.org/pypi/pymodi
…图片::https://img.shields.io/pypi/pyversions/pymodi.svg
:目标:https://pypi.python.org/pypi/pymodi
…图片::https://img.shields.io/travis/luxrobo/pymodi.svg
:目标:https://travis ci.org/luxrobo/pymodi
…图片::https://readthedocs.org/projects/pymodi/badge/?version=latest
:目标:https://pymodi.readthedocs.io/en/latest/?徽章=最新
:alt:文档状态
…图片::https://pyup.io/repos/github/luxrobo/pymodi/shield.svg
:目标:https://pyup.io/repos/github/luxrobo/pymodi/
:alt:updates
easy和fast modi python api包。
*免费软件:mit license
*文档:https://pymodi.readthedocs.io.
features
--
*连接到modi网络模块并控制输入&;输出模块。
*列出modi网络模块的串行端口。
*打开或关闭modi模块的pnp模式。
*获取每个模块的位置信息。
build status
----
master:
。图片::https://travis-ci.org/luxrobo/pymodi.svg?branch=master
:目标:https://travis ci.org/luxrobo/pymodi
开发:
……图片::https://travis-ci.org/luxrobo/pymodi.svg?分支=开发
:目标:https://travis ci.org/luxrobo/pymodi
>如果尚未安装最新的pymodi,请安装它::
导入“modi”包并创建“modi”实例::
import modi
bundle=modi.modi()
list连接的模块:
bundle.modules
列出连接的LED模块,并选择第一个:
bundle.led列表。
bundle.led[0]\pick.
让我们将LED灯闪烁5次:
import time
led=bundle.led[0]
led.on()
time.sleep(1)
led.off()
time.sleep(1)
credits
----
此包是使用Cookiecutter和“Audreyr/Cookiecutter PyPackage”项目模板创建的。
_ Cookiecutter:https://github.com/audreyr/Cookiecutter
。_` audreyr/cookiecutter-pypackage`:https://github.com/audreyr/cookiecutter-pypackage
==
==
=
=
=
=
=
=
====
=
=
<0.1.1.1(2018-07-20)
=>
=>
=
<修复。
*包的包含路径
>0.1.2(2018-07-23)0.1.2(2018-07-07-23)0.1.2(2018-07-23)
-
-
<方法。
*删除重复的
<0.3.0(2018-07-07-28)0.3.0(2018-07-07-28)0.3.0(2018-07-07-28)0.3.1(2018-07-07-28)0.3.0(2018-07-07-07.7)0.3.0(2018-07-07-07.7)0.0(2018-07-07-7)0.3.0(2018-07-07.7)0
-
-
-------
*将项目名称更改为pymodi。
0.5.1(2018-11-07)
-------
*修复26(未连接modi网络模块)问题。