pi-servo-blaster.js
v0.0.3
Published
A node.js library for the pi-blaster daemon, and the ServoBlaster daemon - Allows PWM control of the raspberry Pi pins
Downloads
5
Readme
pi-servo-blaster.js
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/