Note: on Mac OS X Lion, it's necessary to update USB Serial drivers: http://blog.geekscape.org/wordpress/2011/07/22/mac-os-x-17-lion-upgrading-ftdi-usb-serial-dr/
This sample shows a big button that lets you toggle between the on/off state of an LED connected to an Arduino.
- Install the LED sketch on your Duo.
- Attach a LED to pin 2 (with a resistor to not burn it out).
- Install and launch this packaged app.
- Press the button to toggle the LED.
Future version: use the standard Firmata sketch and build a JS firmata driver for Chrome packaged apps.