This sketch is fully compatible with the FastLED web compiler.
This sketch is fully compatible with the FastLED web compiler. To use it do the following:
- Install Fastled:
pip install fastled
- cd into this examples page.
- Run the FastLED web compiler at root:
fastled
- When the compiler is done a web page will open.
#include "defs.h"
#if !HAS_ENOUGH_MEMORY
#else
#define DATA_PIN 3
#define LED_TYPE WS2811
#define COLOR_ORDER GRB
#define NUM_LEDS 64
#define BRIGHTNESS 96
#define FRAMES_PER_SECOND 120
#define USES_RGBW 0
#if USES_RGBW
#else
#endif
.setRgbw(rgbwMode);
}
{
}
#endif
#define FRAMES_PER_SECOND
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
static ScreenMap DefaultStrip(int numLeds, float cm_between_leds=1.5f, float cm_led_diameter=0.2f, float completion=.9f)
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
shared_ptr< T > make_shared(Args &&... args)
Representation of an RGB pixel (Red, Green, Blue)