Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ setBrightness
Method
setBrightness
tests/fl/fx/mock_fastled.h:106–109 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
104
}
105
106
void setBrightness(uint8_t brightness) override {
107
mBrightness = brightness;
108
mBrightnessHistory.push_back(brightness);
109
}
110
111
uint8_t getBrightness() const override {
112
return mBrightness;
Callers
4
FL_TEST_FILE
Function · 0.45
power_estimation.cpp
File · 0.45
FL_TEST_FILE
Function · 0.45
active_strip_data.cpp
File · 0.45
Calls
1
push_back
Method · 0.45
Tested by
no test coverage detected