使用Node.js控制树莓派GPIO引脚

rpi-gpio.js

支持的硬件

  • Raspberry Pi 1 Model A
  • Raspberry Pi 1 Model A+
  • Raspberry Pi 1 Model B+
  • Raspberry Pi 2 Model B
  • Raspberry Pi 3 Model B
  • Raspberry Pi 4 Model B
  • Raspberry Pi Zero
  • Raspberry Pi Zero W

支持的Node.js版本

rpi-gpio 1.x 已不再支持旧版Node.js。建议使用 rpi-gpio 2.x,支持 Node.js 0.10及以上版本。

| Node.js版本 | rpi-gpio 版本 |

|---|---|

| 0.10+ | 2.x+ |

zip
rpi-gpio_js-master.zip 预估大小:16个文件
folder
rpi-gpio.js-master 文件夹
file
.gitignore 112B
file
package.json 836B
file
package-lock.json 24KB
file
.travis.yml 188B
file
rpi-gpio.js 16KB
folder
examples 文件夹
file
write-pin-on.js 451B
file
read-pin.js 250B
file
write-pin.js 236B
file
voltage-cycling.js 738B
file
listen-pin.js 192B
file
unexport.js 382B
file
README.md 8KB
file
MIT-LICENSE.txt 1KB
file
.npmignore 30B
folder
test 文件夹
file
main.js 34KB
folder
integration 文件夹
file
main.js 2KB
zip 文件大小:23.29KB