ws2812 library
v0.85
Supports ws2812 and ws2812b
|
Function to return RGB colors based on an index between 0 and 255. More...
#include "ws2812.h"
Functions | |
uint32_t | ws2812_wheel (int pos) |
Create color from a 0 to 255 position input. |
Function to return RGB colors based on an index between 0 and 255.
uint32_t ws2812_wheel | ( | int | pos | ) |
Create color from a 0 to 255 position input.
Colors transition red to green to blue.
pos | Position in the color spectrum where 0 is on the red end and 255 is on the blue end |