26#define COLOR_ORDER GRB
33void make_map(
int stepx,
int stepy,
int num, std::vector<pair_xy_float>* _map) {
36 std::vector<pair_xy_float>& map = *_map;
37 for (int16_t i = 0; i < num; i++) {
38 map.push_back(pair_xy_float{
x,
y});
52 std::vector<pair_xy_float> map;
54 ScreenMap screenmap = ScreenMap(map.data(), map.size());
56 std::vector<pair_xy_float> map2;
58 ScreenMap screenmap2 = ScreenMap(map2.data(), map2.size());
61 .setScreenMap(screenmap);
64 .setScreenMap(screenmap2);
CRGB leds2[lengths[RedStrip]]
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
void make_map(int stepx, int stepy, int num, std::vector< pair_xy_float > *_map)
@ Blue
<div style='background:#0000FF;width:4em;height:4em;'></div>
@ Red
<div style='background:#FF0000;width:4em;height:4em;'></div>
Representation of an RGB pixel (Red, Green, Blue)