LED clock
|
Macros | |
#define | TICKS_PER_SECOND 256 |
the number of ticks in one second (32768 divisor greater than 256*LED_WS2812B_LEDS/60) | |
Variables | |
const uint32_t | ticks_second = TICKS_PER_SECOND |
number of ticks in one second | |
const uint32_t | ticks_minute = 60*TICKS_PER_SECOND |
number of ticks in one minute | |
const uint32_t | ticks_hour = 60*60*TICKS_PER_SECOND |
number of ticks in one hour | |
const uint32_t | ticks_midday = 12*60*60*TICKS_PER_SECOND |
number of ticks in one midday (12 hours) | |