FastLED 3.9.15
|
LIB8STATIC uint16_t beat88 | ( | accum88 | beats_per_minute_88, |
uint32_t | timebase = 0 ) |
Generates a 16-bit "sawtooth" wave at a given BPM, with BPM specified in Q8.8 fixed-point format.
beats_per_minute_88 | the frequency of the wave, in Q8.8 format |
timebase | the time offset of the wave from the millis() timer |
Definition at line 897 of file lib8tion.h.
References GET_MILLIS, and LIB8STATIC.
Referenced by beat16(), and beatsin88().