0.0.3 • Published 9 years ago

pi-servo-blaster.js v0.0.3

Weekly downloads
9
License
-
Repository
github
Last release
9 years ago

pi-servo-blaster.js

license npm

NodeJS library for the pi-blaster daemon, and the servo blaster daemon.

Installation

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

Install the pi-blaster daemon (instructions). And install the ServoBlaster daemon (instructions).

Finally install pi-servo-blaster.js: https://www.npmjs.com/package/pi-servo-blaster.js

npm install pi-servo-blaster.js

Usage

var piServoblaster = require('pi-servo-blaster.js');

// Set first pin at 40% using pi blaster
piblaster.setPwm(0, 0.4);

License

Copyright 2014 - Damian Acevedo. Published under the Apache open source license (see full license in LICENSE.txt file).

Credits

Original version forked from code written by Thomas Sarlandie. https://github.com/sarfata/pi-blaster.js/