WLED/wled00/Structs.h
cschwinne 4e3c83af94 Added Blynk support
Fixed AutoRGBW not disabling white slider in UI
Fixed possible UDP buffer out of bounds
2018-07-16 11:50:09 +02:00

34 lines
513 B
C

/*
* These are some data object structs, currently unused
*/
#ifndef WLED_Structs_H
#define WLED_Structs_H
struct Color {
byte white;
byte red;
byte green;
byte blue;
}
struct Palette {
Color* paletteColors;
byte mainColor = 0;
}
struct Segment {
uint16_t minLed = 0, maxLed = 10;
Palette segmentPalette;
byte segmentEffect = 0;
byte segmentEffectSpeed = 128;
byte segmentEffectIntensity = 128;
}
struct Preset {
byte mainSegment;
Segment* segments;
String presetName;
}
#endif