#define LED_PIN 5
#define COLOR_ORDER GRB
#define CHIPSET WS2811
#define NUM_LEDS 30
#define BRIGHTNESS 200
#define FRAMES_PER_SECOND 60
delay(3000);
}
{
}
#define COOLING 55
#define SPARKING 120
{
}
for(
int k=
NUM_LEDS - 1; k >= 2; k--) {
}
}
int pixelnumber;
} else {
pixelnumber = j;
}
leds[pixelnumber] = color;
}
}
#define FRAMES_PER_SECOND
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
CRGB HeatColor(uint8_t temperature)
Approximates a "black body radiation" spectrum for a given "heat" level.
LIB8STATIC_ALWAYS_INLINE uint8_t qadd8(uint8_t i, uint8_t j)
Add one byte to another, saturating at 0xFF.
LIB8STATIC_ALWAYS_INLINE uint8_t qsub8(uint8_t i, uint8_t j)
Subtract one byte from another, saturating at 0x00.
LIB8STATIC uint8_t random8()
Generate an 8-bit random number.
Representation of an RGB pixel (Red, Green, Blue)