/* * vim: sw=2 ts=2 expandtab * * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): * Thomas Kolb wrote this file. As long as you retain this * notice you can do whatever you want with this stuff. If we meet some day, * and you think this stuff is worth it, you can buy me a pizza in return. * - Thomas Kolb */ #ifndef SK6812_H #define SK6812_H int sk6812_init(const char *host, unsigned short port); void sk6812_set_color(uint16_t module, uint8_t r, uint8_t g, uint8_t b, uint8_t w); void sk6812_fade_color(uint16_t module, uint8_t r, uint8_t g, uint8_t b, uint8_t w); void sk6812_add_color(uint16_t module, uint8_t r, uint8_t g, uint8_t b, uint8_t w); void sk6812_set_fadestep(uint8_t fadestep); int sk6812_commit(void); void sk6812_shutdown(void); #endif // SK6812_H