Thomas Kolb
d4a2e7ef4c
- basic configuration is now done via a lua script - all the animation is generated by a lua script (see pulsetunnel.lua and vumeter.lua for examples) - basic calculations (FFT, RMS) are done in C and accessible on demand from the lua scripts
22 lines
762 B
C
22 lines
762 B
C
/*
|
|
* 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
|
|
|
|
int ws2801_init(const char *host, unsigned short port);
|
|
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
|