Hello World, i would like to know if that library for WS2811 is still

Hello World,

i would like to know if that library for WS2811 is still good with the new library I downloaded from your web site few days ago?

I just found this library on Adafruit forum and date from 2013. So I am not sure if it will work. connected to an Arduino.Uno R3

#include “FastSPI_LED2.h”
#define NUM_LEDS 60
#define PIN 6
#define serialRate 115200
uint8_t prefix[] = {0x55, 0x56, 0x55, 0x56, 0x55, 0x56, 0x55, 0x56};
CRGB leds[NUM_LEDS];
void setup()
{
//Una espera para que no levante cualquier dato del serial
delay(2000);
//Inicializamos el fast Led con el pin del arduino al que queremos que envie
//El array de leds y la cantidad de leds
FastLED.addLeds<WS2811, PIN, RGB>(leds, NUM_LEDS);
//Inicializamos el Serial Port
Serial.begin(serialRate);
}

void loop() {
// Esperamos hasta que recibimos el prefijo configurado en el boblight
for(byte i = 0; i < sizeof prefix; ++i) {
waitLoop: while (!Serial.available()) ;
// leemos el byte entrante:
uint8_t incomingByte = Serial.read();
// miramos si corresponde al siguiente byte en la secuencia
if(prefix[i] == incomingByte) continue;
// si no es asi, empezamos de nuevo
i = 0;
goto waitLoop;
}

// leemos los datos enviados, y los colocamos en el array de leds
for (uint8_t i = 0; i < NUM_LEDS; i++) {
byte r = 0, g = 0, b = 0;
while(!Serial.available());
r = Serial.read();
while(!Serial.available());
g = Serial.read();
while(!Serial.available());
b = Serial.read();
leds[i]= CRGB( r, g, b);
}
//Mostramos los leds y volvemos a empezar
FastLED.show();
}

Change the first line to:

#include <FastLED.h>

and make sure that your pin and serial rates are correct.

Note that this code is looking for a different prefix than the previous code you had posted. Unfortuantely, without knowing what boblight is putting out, I can’t tell you whether or not it’s going to match up with what boblight is putting out.