FastLED 3.9.15
Loading...
Searching...
No Matches
ucs7604.cpp.hpp
Go to the documentation of this file.
1
3
5
6// Define FL_UCS7604_BRIGHTNESS if not already defined
7#ifndef FL_UCS7604_BRIGHTNESS
8#define FL_UCS7604_BRIGHTNESS 0x0F
9#endif
10
11namespace fl {
12namespace ucs7604 {
13
14namespace detail {
15 // Global current control value for UCS7604
16 // Defaults to FL_UCS7604_BRIGHTNESS (0x0F if not defined)
17 // Static to hide from external linkage
19} // namespace detail
20
22 detail::g_current = current;
23}
24
28
29} // namespace ucs7604
30} // namespace fl
static CurrentControl g_current(FL_UCS7604_BRIGHTNESS)
CurrentControl brightness()
Get current global UCS7604 brightness value.
void set_brightness(CurrentControl current)
Set global UCS7604 brightness via current control (EXPERIMENTAL)
UCS7604CurrentControl CurrentControl
Type alias for current control (defined in ucs7604_encoder.h)
Definition ucs7604.h:57
UCS7604 runtime brightness control namespace.
Base definition for an LED controller.
Definition crgb.hpp:179
#define FL_UCS7604_BRIGHTNESS
UCS7604 LED chipset controller implementation for FastLED.