BlinkStick 8th blue LED not working (only pulse/morph, nodejs)

I recently bought the blinkstick square and the blinkstick stick, and I have this weird issue.

The eighth blue LED on the stick does not illuminate when using the morph and pulse functions provided in the NPM (nodejs) blinkstick package. But on the square it works fine.

However, if I use setColor, the blue LED on the 8th leds works fine… and using the morph function through python, the blue led that didn’t seem to be working actually works.

I don’t really know what has happened but I feel like it is relevant to bring this up.

Has anyone else had this problem?

Actually this seems to happen with the square as well, so probably either something is wrong in my code or the NPM package

OK so I found the problem,

At that line, there is an off-by one error that somehow messes up. Since I don’t know the gritty details, I can’t tell what is going on but removing the “-1” in the buffer.slice parameters fixed my problem

1 Like