Created
October 4, 2012 14:28
-
-
Save jgrahamc/3833860 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Noduino = new NoduinoObj({debug: true, host: 'http://localhost:8090'}, Connector); | |
Noduino.connect(function(err, board) { | |
if (err) { return console.log(err); } | |
board.withLED({pin: 13}, function(err, LED) { | |
if (err) { return console.log(err); } | |
LED.blink(250); | |
LED.on('on', function() } | |
console.log('LED is on!'); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment