KW_

Untitled

KW_
Mar 13th, 2018
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. //#include <dummy.h>
  2. #include <FastLED.h>
  3. #include <Arduino.h>
  4.  
  5. //#define FASTLED_ESP8266_RAW_PIN_ORDER
  6. #define ESP8266_RAW_PIN_ORDER
  7. #define LED_PIN 1
  8.  
  9. // Information about the LED strip itself
  10. #define NUM_LEDS 50
  11. #define CHIPSET WS2811
  12. #define COLOR_ORDER BRG
  13. CRGB leds[NUM_LEDS];
  14.  
  15. void setup() {
  16. pinMode(5,OUTPUT);
  17. delay(1000);
  18. fill_solid(leds,NUM_LEDS,CRGB(250,0,0));
  19. FastLED.show();
  20. //leds[0] = CRGB::White; FastLED.show(); delay(30);
  21. }
  22.  
  23. void loop() {
  24. // put your main code here, to run repeatedly:
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment