• Which one of the various devices is AmbiBox set to output as? It's possible that another type would output as something more human readable (or that there'd be documentation on it somewhere)?

    As far as I can see from the contents of the text file, you've got blocks of 15 bytes... I don't know where they start or end, but they seem like they could be something like:

    33 00 F4 RR GG BB RR GG BB RR GG BB RR GG BB
    

    That's only 4 LEDs worth of data though... do you think that's right?

    So to read it you could probably do something like you've got already, but with:

    var idx = cmd.indexOf("\x33\x00\xF4");
    

    and then once you've extracted the 12 bytes string, you could shove it right into SPI.send4bit to control some WS2811 LEDs (although it's possible the colour channels would be in the wrong order).

About

Avatar for Gordon @Gordon started