#define LED_PIN 3
#define COLOR_ORDER GRB
#define CHIPSET WS2811
#define BRIGHTNESS 64
uint16_t
XY( uint8_t
x, uint8_t
y)
{
uint16_t i;
} else {
}
}
} else {
}
} else {
} else {
}
}
}
return i;
}
#define NUM_LEDS (kMatrixWidth * kMatrixHeight)
{
}
void DrawOneFrame( uint8_t startHue8, int8_t yHueDelta8, int8_t xHueDelta8)
{
uint8_t lineStartHue = startHue8;
lineStartHue += yHueDelta8;
uint8_t pixelHue = lineStartHue;
pixelHue += xHueDelta8;
}
}
}
}
{
uint32_t ms = millis();
DrawOneFrame( ms / 65536, yHueDelta32 / 32768, xHueDelta32 / 32768);
if( ms < 5000 ) {
} else {
}
}
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
#define kMatrixSerpentineLayout
const bool kMatrixVertical
void DrawOneFrame(uint8_t startHue8, int8_t yHueDelta8, int8_t xHueDelta8)
uint16_t XYsafe(uint8_t x, uint8_t y)
CRGB leds_plus_safety_pixel[NUM_LEDS+1]
uint16_t XY(uint8_t x, uint8_t y)
@ TypicalSMD5050
Typical values for SMD5050 LEDs.
LIB8STATIC_ALWAYS_INLINE uint8_t scale8(uint8_t i, fract8 scale)
Scale one byte by a second one, which is treated as the numerator of a fraction whose denominator is ...
LIB8STATIC int16_t cos16(uint16_t theta)
Fast 16-bit approximation of cos(x).
Representation of an HSV pixel (hue, saturation, value (aka brightness)).
Representation of an RGB pixel (Red, Green, Blue)