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

◆ seconds16()

LIB8STATIC u16 fl::seconds16 ( )

Return the current seconds since boot in a 16-bit value.

Definition at line 18 of file time_functions.h.

18 {
19 u32 ms = fl::millis();
20 u16 s16;
21 s16 = ms / 1000;
22 return s16;
23}
fl::u32 millis()
Universal millisecond timer - returns milliseconds since system startup.

Referenced by INSTANTIATE_EVERY_N_TIME_PERIODS().

+ Here is the caller graph for this function: