mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
Arduino LED toggle
Note: on Mac OS X Lion, it's necessary to update USB Serial drivers: https://web.archive.org/web/20160630184514/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.

