|
FastLED 3.9.15
|
| LIB8STATIC u8 fl::beatsin8 | ( | accum88 | beats_per_minute, |
| u8 | lowest = 0, | ||
| u8 | highest = 255, | ||
| u32 | timebase = 0, | ||
| u8 | phase_offset = 0 ) |
Generates an 8-bit sine wave at a given BPM that oscillates within a given range.
| beats_per_minute | the frequency of the wave, in decimal |
| lowest | the lowest output value of the sine wave |
| highest | the highest output value of the sine wave |
| timebase | the time offset of the wave from the millis() timer |
| phase_offset | phase offset of the wave from the current position |
Definition at line 105 of file beat.h.
Referenced by bpm(), loop(), pacifica_add_whitecaps(), pacifica_loop(), and updateLEDs().
Here is the caller graph for this function: