js-pigpio

1.5.1 • Public • Published

js-pigpio

Build Tests Code Coverage npm version bitHound Dependencies bitHound Code bitHound Overall Score semantic-release

A pure JS library for interacting with Raspberry Pi GPIO using the pigpio daemon (for pwm, servo control, etc)

The pigpio library uses direct memory access (DMA) to allow you to sample the GPIOs up to 1,000,000 times per second. It also makes it fast enough to give you PWM and servo control on all GPIOs simultaneously. The servo waveforms are accurate to a few microseconds.

This code is based off of the python library included with the pigpio download.

For managed access to the GPIO using javascript checkout js-gpiozero.

It's early days and a work in progress!

Documentation

The API Documentation is available at the repos github-pages.

Thanks

Massive thanks for the inspiration and idea from pi-fast-gpio

Package Sidebar

Install

npm i js-pigpio

Weekly Downloads

241

Version

1.5.1

License

ISC

Last publish

Collaborators

  • miketrebilcock