node-pigpio-if
pigpiod socket interface for node.js
Features
- Can run gpio program on Windows/Mac/Linux with remote gpio by pigpiod
- high level wrappers api for for I2C, SPI, Bit banging I2C
- Contains a lowlevel api with the same features as the original python library
Requirements
- Node 12.x or later
- install and run pigopid http://abyz.me.uk/rpi/pigpio/download.html
Install
npm install node-pigpio-if
Usage
// blick LED 5 times
lowlevel api
lowlevel API is the same feature as the original python library except that all requests are asynchronous.