Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ws2812.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ typedef enum {

/* --- PUBLIC FUNCTIONS ----------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#endif

/**
* @brief Initialize the driver
*
Expand Down Expand Up @@ -70,6 +74,10 @@ void ws2812_init(void);
*/
ws2812_err_t ws2812_write_led(uint32_t led_number, uint8_t r, uint8_t g, uint8_t b);

#ifdef __cplusplus
}
#endif

/** @} defgroup WS2812 */

#endif //ifndef WS2812_H_