This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
#define LED_PIN 7 | |
#define NUM_LEDS 100 | |
#define BRIGHTNESS 150 | |
#define LED_TYPE WS2812B | |
#define COLOR_ORDER GRB | |
CRGB leds[NUM_LEDS]; | |
#define UPDATES_PER_SECOND 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Adafruit_NeoPixel.h> | |
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
#define FASTLED_INTERRUPT_RETRY_COUNT 0 | |
#include <FastLED.h> | |
#include <ArduinoOTA.h> | |
#include <ESP8266mDNS.h> | |
#include <WiFiUdp.h> | |
/************ WIFI and MQTT INFORMATION (CHANGE THESE FOR YOUR SETUP) ******************/ | |
#define wifi_ssid "*" //enter your WIFI SSID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Adafruit_NeoPixel.h> | |
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
#define FASTLED_INTERRUPT_RETRY_COUNT 0 | |
#include <FastLED.h> | |
#include <ArduinoOTA.h> | |
#include <ESP8266mDNS.h> | |
#include <WiFiUdp.h> | |
/************ WIFI and MQTT INFORMATION (CHANGE THESE FOR YOUR SETUP) ******************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
#define LED_PIN 7 | |
#define NUM_LEDS 99 | |
#define BRIGHTNESS 150 | |
#define LED_TYPE WS2812B | |
#define COLOR_ORDER GRB | |
CRGB leds[NUM_LEDS]; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FastLED.h" | |
FASTLED_USING_NAMESPACE | |
#if defined(FASTLED_VERSION) && (FASTLED_VERSION < 3001000) | |
#warning "Requires FastLED 3.1 or later; check github for latest code." | |
#endif | |
#define DATA_PIN 7 |
NewerOlder