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

Method get_seed

src/fl/math/random.h:40–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39 void set_seed(u16 seed) FL_NOEXCEPT { mSeed = seed; }
40 u16 get_seed() const FL_NOEXCEPT { return mSeed; }
41 void add_entropy(u16 entropy) FL_NOEXCEPT { mSeed += entropy; }
42
43 static constexpr result_type minimum() FL_NOEXCEPT { return 0; }

Callers 1

FL_TEST_FILEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected