Hello,
I am really new in Arduino world and has some trouble with this LED - Neopixel RGB LED 8mm.
I was really trying to do it myself, but after few hours I feel stuck.
I just want to turn it on and play with colors.
What I did is that I connected this LED to Arduino Uno (see attachment) and send few lines of code to Arduino. Result is that LED is doing nothing (there is only a one tiny green flash, when I restarted it)
If you can see, where I am doing some basic mistake, let me know.
thanks
Here is the code, I am using:
#include <Adafruit_NeoPixel.h>
#define PIN 12
#define NUMPIXELS 1
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);
void setup() {
pixels.begin();
pixels.show();
}
void loop()
{
pixels.setPixelColor(0,150,150,150);
pixels.show();
}