node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

zetta-pir-bonescript-driver

Monitor a PIR Sensor using Zetta and bonescript!

Install

$> npm install zetta-pir-bonescript-driver

Usage

var zetta = require('zetta');
var PIR = require('zetta-pir-bonescript-driver');
 
zetta()
  .use(PIR, 'P9_12')
  .listen(1337)

Hardware

Hookup Diagram