Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ make_hsv
Function
make_hsv
tests/fl/gfx/colorutils.cpp:34–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
};
33
34
CHSV make_hsv(int i) {
35
return CHSV(static_cast<fl::u8>(i), static_cast<fl::u8>(100 + i),
36
static_cast<fl::u8>(200 - i));
37
}
38
39
CRGB make_rgb(int i) {
40
return CRGB(static_cast<fl::u8>(i), static_cast<fl::u8>(2 * i),
Callers
1
FL_TEST_FILE
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected