php-raspberry-pi:PHP Raspberry-Pi工具

时间:2021-05-17 09:09:35
【文件属性】:
文件名称:php-raspberry-pi:PHP Raspberry-Pi工具
文件大小:17KB
文件格式:ZIP
更新时间:2021-05-17 09:09:35
PHP PHP树莓派 PHP www-data用户运行root命令 阅读维基 安装 要简单安装: $ composer require spring-z/php-raspbrry-pi 需要额外的: $ sudo apt install expect 首先检查接线Pi是否尚未安装。 在终端中,运行: $ gpio -v 如果您得到了某些东西,则说明您已经安装了它。 如果不安装。 打开 开始 跑步: $ gpio readall 例子 : +-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----
【文件预览】:
php-raspberry-pi-master
----.gitattributes(53B)
----wiki()
--------GPIO.md(3KB)
--------Home.md(10B)
----src()
--------GPIO.php(3KB)
--------Util.php(1KB)
--------Shell.php(807B)
----examples()
--------GPIO.php(460B)
----LICENSE(11KB)
----wiringPi()
--------gcc.sh(99B)
--------GPIO.c(5KB)
----README.md(3KB)
----tests()
--------phpunit.xml(222B)
----shell()
--------GPIO.sh(347B)
----.gitignore(149B)
----executable()
--------GPIO(13KB)
----composer.json(334B)

网友评论