MCPcopy Create free account
hub / github.com/VCVRack/Befaco / setLightRGB

Method setLightRGB

src/MotionMTR.cpp:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 void setLightRGB(int lightId, float R, float G, float B) {
172 lights[lightId + 0].setBrightness(R);
173 lights[lightId + 1].setBrightness(G);
174 lights[lightId + 2].setBrightness(B);
175 }
176
177 void setLightRGBSmooth(int lightId, const ProcessArgs& args, float R, float G, float B) {
178 // inverse time constant for LED smoothing

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected