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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i pigpio.js

Weekly Downloads

0

Version

0.0.3

License

none

Last publish

Collaborators

  • jedahan