piphp/pipin
Composer 安装命令:
composer require piphp/pipin
包简介
A tool for accessing the GPIO pins on a Raspberry Pi
README 文档
README
A tool for managing the GPIO pins on a Raspberry Pi.
Usage
# Export/Unexport a pin pipin export [pin] pipin unexport [pin] # Reading a pin state pipin value [pin] pipin direction [pin] pipin edge [pin] # Changing a pin state pipin value [pin] [0|1] pipin direction [pin] [in|out] pipin edge [pin] [none|both|falling|rising]
How To Install
Make sure you have composer installed, then:
composer global require piphp/pipin
Make sure you have added your global composer binary directory to the PATH in your ~/.bash_profile (or ~/.bashrc) file:
export PATH=~/.composer/vendor/bin:$PATH
This blog explains the process of global composer installs in more detail.
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-13