|
FastLED 3.9.15
|
| LIB8STATIC fl::u8 triwave8 | ( | fl::u8 | in | ) |
Triangle wave generator.
Useful for turning a one-byte ever-increasing value into a one-byte value that oscillates up and down.
On AVR this function takes just three cycles.
Definition at line 678 of file lib8tion.h.
References LIB8STATIC.
Referenced by cubicwave8(), and quadwave8().
Here is the caller graph for this function: