2012-07-13 21:18:35 +02:00
|
|
|
/*
|
|
|
|
* vim: sw=2 ts=2 expandtab
|
|
|
|
*
|
|
|
|
* THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"):
|
|
|
|
* <cfr34k@tkolb.de> 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 WS2801_H
|
|
|
|
#define WS2801_H
|
|
|
|
|
2012-07-28 01:30:20 +02:00
|
|
|
int ws2801_init(const char *host, unsigned short port);
|
2012-07-13 21:18:35 +02:00
|
|
|
void ws2801_set_color(uint8_t module, uint8_t r, uint8_t g, uint8_t b);
|
|
|
|
void ws2801_fade_color(uint8_t module, uint8_t r, uint8_t g, uint8_t b);
|
|
|
|
void ws2801_add_color(uint8_t module, uint8_t r, uint8_t g, uint8_t b);
|
|
|
|
void ws2801_set_fadestep(uint8_t fadestep);
|
|
|
|
int ws2801_commit(void);
|
|
|
|
void ws2801_shutdown(void);
|
|
|
|
|
|
|
|
#endif // WS2801_H
|