I’ve been using my blinkstick pro with a string of 10 WS2812B leds successfully for some time. I tried installing the blinkstick node api and I don’t seem to be able to light either of the last two LEDs.
I can’t believe it’s a hardware problem as all the LEDs work fine when using the python API. Am I doing something wrong in my node code? Is it a subtle timing difference between the APIs?
var blinkstick = require('blinkstick');
var async = require('async');
var device = blinkstick.findFirst();
var leds = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
async.eachSeries(leds, function(led, callback) {
console.log("led " + led);
device.pulse('random', {'channel': 0, 'index': led }, callback);
});