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

Function fmap

examples/Chromancer/ripple.h:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29};
30
31float fmap(float x, float in_min, float in_max, float out_min, float out_max) {
32 return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
33}
34
35class Ripple {
36 public:

Callers 2

advanceMethod · 0.85
renderLedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected