MCPcopy Create free account
hub / github.com/FastLED/FastLED / Set

Method Set

examples/LuminescentGrand/shared/color.cpp:60–65  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

58
59///////////////////////////////////////////////////////////////////////////////
60void Color3i::Set(int rgb_index, uint8_t val) {
61 uint8_t* rgb = At(rgb_index);
62 if (rgb) {
63 *rgb = val;
64 }
65}
66
67///////////////////////////////////////////////////////////////////////////////
68void Color3i::Interpolate(const Color3i& other_color, float t) {

Callers 1

PaintMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected