JaxNode September 2014
Ambient
Accelerometer
Audio
BLE
Camera
Climate
GPS
GPRS
Micro SD
nRF24
Infrared
Relay
RFID
Servo
// Import the interface to Tessel hardware
var tessel = require('tessel');
// Set the led pins as outputs with initial states
// Truthy initial state sets the pin high
// Falsy sets it low.
var led1 = tessel.led[0].output(1);
var led2 = tessel.led[1].output(0);
setInterval(function () {
console.log("I'm blinking! (Press CTRL + C to stop)");
// Toggle the led states
led1.toggle();
led2.toggle();
}, 100);
npm install -g tessel
tessel update
tessel wifi -l
tessel run program.js
tessel push program.js
tessel wifi -n [network name] -p [password] -s [security type*]