0.0.3 • Published 11 years ago

pigpio.js v0.0.3

Weekly downloads
1
License
-
Repository
github
Last release
11 years ago

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).

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

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago