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

◆ minutes16()

LIB8STATIC uint16_t minutes16 ( )

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

Used as part of the "every N time-periods" mechanism

Definition at line 990 of file lib8tion.h.

991{
992 uint32_t ms = GET_MILLIS();
993 uint16_t m16;
994 m16 = (ms / (60000L)) & 0xFFFF;
995 return m16;
996}
#define GET_MILLIS
The a number of functions need access to a millisecond counter in order to keep time.
Definition lib8tion.h:819

References GET_MILLIS, and LIB8STATIC.

Referenced by INSTANTIATE_EVERY_N_TIME_PERIODS().

+ Here is the caller graph for this function: