FastLED 3.10.10
Loading...
Searching...
No Matches
fixed_rgbw_controller.h
Go to the documentation of this file.
1#pragma once
2
4#include "fl/gfx/rgbw.h"
5#include "fl/stl/noexcept.h"
6
7namespace fl {
8namespace detail {
9
11template<typename Base>
12class FixedRgbwController : public Base {
13 public:
14 template<fl::Bus B>
17
19 this->setFixedRgbw(fl::RgbwDefault::value());
20 }
21
22 void init() FL_NO_EXCEPT override {
23 Base::init();
24 }
25};
26
27} // namespace detail
28} // namespace fl
void init() FL_NO_EXCEPT override
FixedRgbwController< typename ClocklessBusController< Base, B >::type > WithBus
Functions for red, green, blue, white (RGBW) output.
Compile-time linker keep-alive hook for a single fl::Bus.
Definition bus_info.h:57
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Definition blur.h:186
Base definition for an LED controller.
static Rgbw value() FL_NO_EXCEPT
Definition rgbw.h:290
Auto preserves the original controller; every explicit bus uses its hook.