From 684919f06909539f5de045bc5ddd9494d5c3e285 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Fri, 29 Jan 2016 18:02:29 -0700 Subject: [PATCH] my9221: fixup grovecircularled JS example Signed-off-by: Jon Trulson Signed-off-by: Mihai Tudor Panu --- examples/javascript/grovecircularled.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/javascript/grovecircularled.js b/examples/javascript/grovecircularled.js index 79a25f47..3bc303c8 100644 --- a/examples/javascript/grovecircularled.js +++ b/examples/javascript/grovecircularled.js @@ -25,9 +25,9 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -// Instantiate a Grove Circular LED on gpio pins 5 and 4 -var GCL = require("jsupm_grovecircularled"); -var circle = new GCL.GroveCircularLED(5, 4); +// Instantiate a Grove Circular LED on gpio pins 9 and 8 +var GCL = require("jsupm_my9221"); +var circle = new GCL.GroveCircularLED(9, 8); var level = 0; // Show a spinner.