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

◆ beat8()

LIB8STATIC uint8_t beat8 ( accum88 beats_per_minute,
uint32_t timebase = 0 )

Generates an 8-bit "sawtooth" wave at a given BPM.

Parameters
beats_per_minutethe frequency of the wave, in decimal
timebasethe time offset of the wave from the millis() timer
Examples
Pacifica.ino.

Definition at line 923 of file lib8tion.h.

924{
925 return beat16( beats_per_minute, timebase) >> 8;
926}
LIB8STATIC uint16_t beat16(accum88 beats_per_minute, uint32_t timebase=0)
Generates a 16-bit "sawtooth" wave at a given BPM.
Definition lib8tion.h:913

References beat16(), and LIB8STATIC.

Referenced by beatsin8(), fl::Pacifica::pacifica_add_whitecaps(), and pacifica_add_whitecaps().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: