AnnaGerber / node-ardx

Arduino Experimentors Guide adapted for nodebots
121 stars 52 forks source link

Update CIRC02-code-leds.js to use the Leds (plural) class #15

Closed rwaldron closed 10 years ago

rwaldron commented 10 years ago

some of the diff is just the result of converting strange tabs to spaces

Signed-off-by: Rick Waldron waldron.rick@gmail.com

rwaldron commented 10 years ago

If you want to know more about this, check out: https://github.com/rwaldron/johnny-five/blob/master/lib/led.js#L424-L448 this gets aliased as Leds here: https://github.com/rwaldron/johnny-five/blob/master/lib/johnny-five.js#L111-L114