Skip to content

Instantly share code, notes, and snippets.

@Resseguie
Created June 6, 2014 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Resseguie/4d48f2bc17053fdeca80 to your computer and use it in GitHub Desktop.
Save Resseguie/4d48f2bc17053fdeca80 to your computer and use it in GitHub Desktop.
Led.RGB.pulse() doesn't honor .color()
var five = require("johnny-five");
five.Board().on("ready", function() {
var led = new five.Led.RGB({
pins: {
red: 3,
green: 5,
blue: 6
}
});
led.color("#FF0000");
led.pulse(1000);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment