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 870 of file lib8tion.h.

871{
872 uint32_t ms = GET_MILLIS();
873 uint16_t m16;
874 m16 = (ms / (60000L)) & 0xFFFF;
875 return m16;
876}
#define GET_MILLIS
The a number of functions need access to a millisecond counter in order to keep time.
Definition lib8tion.h:699

References GET_MILLIS, and LIB8STATIC.

Referenced by INSTANTIATE_EVERY_N_TIME_PERIODS().

+ Here is the caller graph for this function: