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

1009{
1010 uint32_t ms = GET_MILLIS();
1011 uint16_t m16;
1012 m16 = (ms / (60000L)) & 0xFFFF;
1013 return m16;
1014}
#define GET_MILLIS
The a number of functions need access to a millisecond counter in order to keep time.
Definition lib8tion.h:837

References GET_MILLIS, and LIB8STATIC.

Referenced by INSTANTIATE_EVERY_N_TIME_PERIODS().

+ Here is the caller graph for this function: