FastLED 3.9.15
Loading...
Searching...
No Matches

◆ fmap()

float fmap ( float x,
float in_min,
float in_max,
float out_min,
float out_max )

Definition at line 31 of file ripple.h.

31 {
32 return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
33}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80

References x.

Referenced by Ripple::advance(), loop(), net_init(), and Ripple::renderLed().

+ Here is the caller graph for this function: