#ifndef WS2812_LED_H #define WS2812_LED_H #include #ifdef __cplusplus extern "C" { #endif void ws2812_init(unsigned int pin, unsigned int num_leds); void ws2812_set_rgb(const uint8_t *rgb, unsigned int count); void ws2812_fill(uint8_t r, uint8_t g, uint8_t b); void ws2812_show(void); #ifdef __cplusplus } #endif #endif