Back to Parent

#include "Particle.h"
#include <neopixel.h>

#define PIXEL_PIN SPI
#define PIXEL_COUNT 8
#define PIXEL_TYPE WS2812B

Adafruit_NeoPixel strip(PIXEL_COUNT, PIXEL_PIN, PIXEL_TYPE);

void setup() {
    strip.begin();
    strip.setPixelColor(0, strip.Color(255, 0, 0));
    strip.show();
}

void loop() {
}
Click to Expand

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0