文件名称:python-periphery:在Linux中用于外围IO(GPIO,LED,PWM,SPI,I2C,MMIO,串行)的纯Python 23库
文件大小:51KB
文件格式:ZIP
更新时间:2024-05-29 22:44:35
Python
python外围 带有Python 2和3Linux外围设备I / O(GPIO,LED,PWM,SPI,I2C,MMIO,串行) python-periphery是一个纯Python库,用于在用户空间Linux中进行GPIO,LED,PWM,SPI,I2C,MMIO和串行外围设备I / O接口访问。 在嵌入式Linux环境(包括Raspberry Pi,BeagleBone等平台)中,用于与外部外围设备接口时非常有用。 python-periphery与Python 2和Python 3兼容,用纯Python编写,并获得MIT许可。 使用Lua还是C? 查看和项目。 贡献的库: , 安装 随着点: pip install python-periphery 使用easy_install: easy_install python-periphery 使用setup.py: g
【文件预览】:
python-periphery-master
----setup.py(2KB)
----.gitignore(65B)
----periphery()
--------__init__.py(1KB)
--------gpio.py(41KB)
--------spi.py(15KB)
--------serial.py(25KB)
--------led.py(6KB)
--------i2c.py(7KB)
--------pwm.py(10KB)
--------mmio.py(10KB)
----.travis.yml(351B)
----LICENSE(1KB)
----CHANGELOG.md(4KB)
----setup.cfg(92B)
----README.md(5KB)
----tests()
--------test_gpio.py(12KB)
--------__init__.py(0B)
--------test_gpio_sysfs.py(8KB)
--------test_mmio.py(6KB)
--------test_pwm.py(7KB)
--------test.py(1KB)
--------test_spi.py(6KB)
--------test_led.py(4KB)
--------test_i2c.py(3KB)
--------test_serial.py(9KB)
----docs()
--------Makefile(634B)
--------led.rst(602B)
--------index.rst(816B)
--------conf.py(2KB)
--------pwm.rst(552B)
--------version.rst(191B)
--------gpio.rst(880B)
--------serial.rst(631B)
--------spi.rst(655B)
--------mmio.rst(939B)
--------i2c.rst(608B)