pigpio.js

0.0.3 • Public • Published

pigpio

NodeJS library for the pigpio daemon.

Installation

Make sure you have node and npm installed on your Raspberry Pi.

Install the pigpio daemon ([instructions][pi-blaster]).

Install this library

npm install pigpio

Usage

# example.coffee
pigpio = require 'pigpio'

pigpio.setFrequency 8000

# Set pin 22 to pwm at 50%, faking ~1.65V
pigpio.setPwm 22, 0.5

License

Copyright 2014 - Jonathan Dahan. Published under the MIT open source license Copyright 2013 - Thomas Sarlandie. Published under the MIT open source license

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i pigpio.js

      Weekly Downloads

      0

      Version

      0.0.3

      License

      none

      Last publish

      Collaborators

      • jedahan