example: blinking http://makezine.com/2014/05/29/10-ways-to-make-your-robot-more-humanlike/ “The average human blink rate is about 17 blinks per minute.” (ca. 3 blinks/s) “The normal length of a blink is 100-400 milliseconds”
–Eric Lippert “The by-design purpose of JavaScript was to make the monkey dance when you moused over it. ” http://programmers.stackexchange.com/a/221658/4723 JavaScript
Firmata protocol “The aim is to allow people to completely control the Arduino from software on the host computer.” http://www.firmata.org/wiki/Main_Page
control flow led = new five.Led({! pin: 13! });! ! led.on();! ! this.wait(2700, function() {! led.on();! }); JavaScript https://www.flickr.com/photos/nate/3081263606 Firmata /! serial port Arduino
http://www.slideshare.net/TechnicalMachine/tessel-the-end-of-web-development-as-we-know-it Tessel is a microcontroller that runs JavaScript. It's npm-compatible and ships with Wifi built in. Use it to easily make physical devices that connect to the web. http://www.slideshare.net/TechnicalMachine/fluent-20-min-32416115
Blink first var tessel = require('tessel');! ! var gpioA = tessel.port['A'];! ! var led1 = gpioA.digital[0];! ! var value = true;! setInterval(function () {! led.write(value);! value = !value;! }, 2000);