From 52ee5d04c74266ae6d98f43d99f3a6142cb74fa6 Mon Sep 17 00:00:00 2001 From: Jon Craton Date: Fri, 5 Nov 2021 20:03:54 -0400 Subject: [PATCH] Correct typo in example --- examples/light_matrix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/light_matrix.js b/examples/light_matrix.js index 1de6174..35976f9 100644 --- a/examples/light_matrix.js +++ b/examples/light_matrix.js @@ -22,7 +22,7 @@ poweredUP.on("discover", async (hub) => { // Wait to discover hubs // setMatrix accepts an array of 9 items - Either standard color values (number), or Color objects with brightness (brightness values are 0 to 100%) // It can also accept just a single color to set all 9 lights to the same color matrix.setMatrix([ - // Red at 100%, green at 20%, red at 200% + // Red at 100%, green at 20%, red at 100% PoweredUP.Consts.Color.RED, new PoweredUP.Color(PoweredUP.Consts.Color.GREEN, 20), PoweredUP.Consts.Color.RED, // Green at 100%, yellow at 100%, green at 100% PoweredUP.Consts.Color.GREEN, PoweredUP.Consts.Color.YELLOW, PoweredUP.Consts.Color.GREEN,