Created
June 6, 2014 03:47
-
-
Save Resseguie/1b1e5985e3249d50c653 to your computer and use it in GitHub Desktop.
Demonstrates no default pulse rate for RGB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var five = require("johnny-five"); | |
five.Board().on("ready", function() { | |
// Defaults to pin 11 (must be PWM) | |
var led = new five.Led(11); | |
var rgb = new five.Led.RGB([3,5,6]); | |
led.pulse(); | |
rgb.pulse(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment