FastLED 3.10.8
Loading...
Searching...
No Matches
rgbw_pixel.h
Go to the documentation of this file.
1#pragma once
2
9
10#include "fl/stl/stdint.h"
11#include "fl/stl/noexcept.h"
12
13namespace fl {
14
18struct RGBWPixel {
19 u8 r, g, b, w;
20
21 RGBWPixel() FL_NO_EXCEPT : r(0), g(0), b(0), w(0) {}
22 RGBWPixel(u8 _r, u8 _g, u8 _b, u8 _w) FL_NO_EXCEPT : r(_r), g(_g), b(_b), w(_w) {}
23};
24
25} // namespace fl
unsigned char u8
Definition stdint.h:131
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Definition blur.h:186
Base definition for an LED controller.
Definition crgb.hpp:179
RGBWPixel() FL_NO_EXCEPT
Definition rgbw_pixel.h:21
RGBWPixel(u8 _r, u8 _g, u8 _b, u8 _w) FL_NO_EXCEPT
Definition rgbw_pixel.h:22