Create a new Project
- Open the Arduino IDE
- Click on Tools Menu
- Click on the Managa Libraries
- Wait for it to load
- In the 3rd Box at the top ( the search box )
- Type "FastLed"
- When it appaears in the Box below select the "FastLED" by Daniel Garcia
- Chose the latest version and click Install
- Click on the File Menu
- Then New
- Highlight everything ( By Pressing Command-A )
- Paste the following code
#define FASTLED_ESP8266_NODEMCU_PIN_ORDER
#include <FastLED.h>
#define LED_PIN 1
#define NUM_LEDS 144
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<WS2812, LED_PIN, GRB>(leds, NUM_LEDS);
}
void loop() {
int i = 0;
for (i = 0; i <= NUM_LEDS ; i++) {
leds[i] = CRGB ( 255, 255, 255);
FastLED.show();
delay(10);
}
}
Save the Program
- Click on the File Menu again
- Then Chose Save As
- Type in "Turn on All Leds"
Upload the Sketch
- Click on the Sketch Menu
- Then Upload.