Skip to content

acevedodamian/pi-blaster.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

NodeJS module (npm) to control pi-blaster and Servo Blaster for raspberry pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%