FastLED 3.9.15
Loading...
Searching...
No Matches
draw_context.h
Go to the documentation of this file.
1#pragma once
2
3#include "crgb.h"
4#include "fl/namespace.h"
5#include "fl/stdint.h"
6
7namespace fl {
8
9// Abstract base class for effects on a strip/grid of LEDs.
10
12 fl::u32 now;
14 uint16_t frame_time = 0;
15 float speed = 1.0f;
16 _DrawContext(fl::u32 now, CRGB *leds, uint16_t frame_time = 0,
17 float speed = 1.0f)
19};
20
21} // namespace fl
Defines the red, green, and blue (RGB) pixel struct.
Implements the FastLED namespace macros.
IMPORTANT!
Definition crgb.h:20
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:86
uint16_t frame_time
_DrawContext(fl::u32 now, CRGB *leds, uint16_t frame_time=0, float speed=1.0f)