From 8c5be725d083fce8de62e07a21ab3901445005de Mon Sep 17 00:00:00 2001 From: rotcivegaf Date: Wed, 17 Apr 2024 18:27:56 -0300 Subject: [PATCH] Fix example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3c280f1..86e4e01 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ const channel = ws281x(100, { stripType: 'ws2812' }); const colorArray = channel.array; for (let i = 0; i < channel.count; i++) { - colorsArray[i] = 0xffcc22; + colorArray[i] = 0xffcc22; } ws281x.render(); @@ -269,4 +269,4 @@ blacklist snd (after updating the file you need to run `sudo update-initramfs -u` to get the changes into the boot-partition or something like that) -If anyone finds a better solution please get in touch! \ No newline at end of file +If anyone finds a better solution please get in touch!