Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 504 Bytes

readme.md

File metadata and controls

22 lines (16 loc) · 504 Bytes

##Tessel Door Monitor

I bought a tessel to play around with, and am using the accelerometer module to spy on my sister's dog walkers for her; she doesn't think Charlie gets out enough.


Tessel = node for hardware.
This is the full code for blinky.js:

var tessel = require('tessel');
var led1 = tessel.led[0].output(1);
var led2 = tessel.led[1].output(0);

setInterval(function () {
    console.log(tessel)
    led1.toggle();
    led2.toggle();
}, 1000);