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

◆ LedValue()

int NoiseGenerator::LedValue ( int32_t i,
unsigned long time_ms ) const
inline

Definition at line 30 of file noisegen.h.

30 {
31 int val = Value(i, time_ms);
32 return MAX(0, val - 128) * 2;
33 }
#define MAX(a, b)
Definition math_macros.h:4
uint8_t Value(int32_t i, unsigned long time_ms) const
Definition noisegen.h:24

References MAX, and Value().

+ Here is the call graph for this function: