node-raspi
v1.0.1
Published
Raspberry pi toolkit for node.js
Downloads
3
Maintainers
Readme
node-raspi
Raspberry pi toolkit for node.js
Installation
npm install node-raspi
Sample usage
Get cpu temperature
var pi = require('node-raspi');
var temp = pi.getThrm();
console.log("Cpu temp: "+temp+" �C");
Get current voltage
var pi = require('node-raspi');
var volt = pi.getVcc();
console.log("SOC Voltage: "+volt+" v");
pi.uptime(); system uptime in milliseconds
pi.serviceStart(name); starts a system daemon
pi.serviceStop(name); stop a system daemon;
@todo gpio access routines will be implemented soon
Armagan Corlu aka PsyChip [email protected] 23.03.2016