And I want it to power all the led rgb (100 in total), I want to make a independent portable circuit, so I don't have to use the usb power. The thing is when I use this circuit it only power to 44 led.
WHile when I use the usb 5V it can full lights all led .
This is my code
#include <Adafruit_NeoPixel.h>
#define NUM_LEDS 100
#define LED_PIN 2
Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, LED_PIN, NEO_RGB+NEO_KHZ800);
void setup()
{
strip.begin();
strip.show();
}
void loop()
{
for (int i = 0; i < NUM_LEDS; i = i+1)
{
strip.setPixelColor(i, strip.Color(255, 240, 255));
strip.show();
delay(1000);
}
}
What may I be missing?