Skip to content

Instantly share code, notes, and snippets.

@Frijol
Created March 6, 2014 21:58
Show Gist options
  • Save Frijol/9400597 to your computer and use it in GitHub Desktop.
Save Frijol/9400597 to your computer and use it in GitHub Desktop.
var tessel = require('tessel');
var led1 = tessel.led(1).output().high();
var led2 = tessel.led(2).output().low();
setInterval(function () {
led1.toggle();
led2.toggle();
}, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment