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

◆ LedValue()

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

Definition at line 25 of file noisegen.h.

25 {
26 int val = Value(i, time_ms);
27 return fl::max(0, val - 128) * 2;
28 }
constexpr common_type_t< T, U > max(T a, U b) FL_NOEXCEPT
Definition math.h:75
fl::u8 Value(fl::i32 i, unsigned long time_ms) const
Definition noisegen.h:19

References fl::max(), and Value().

+ Here is the call graph for this function: