node package manager

zetta-pir-bonescript-driver

PIR bonescript driver for zetta

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