From 0c5cd98f312915f428ffb35861f8f00f82ef33ec Mon Sep 17 00:00:00 2001 From: chronikum <34622984+chronikum@users.noreply.github.com> Date: Wed, 28 Aug 2024 09:38:11 +0200 Subject: [PATCH] Update README.md Fixing type in documentation (colorArray) --- 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!