2013-04-08 23:55:01 +02:00
|
|
|
#ifndef WS2801_H
|
|
|
|
#define WS2801_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2017-01-29 16:45:52 +01:00
|
|
|
int ws2801_init(uint32_t num_modules);
|
2013-04-08 23:55:01 +02:00
|
|
|
void ws2801_shutdown(void);
|
2017-01-29 16:45:52 +01:00
|
|
|
void ws2801_set_colour(uint32_t module, uint8_t red, uint8_t green, uint8_t blue);
|
2013-04-08 23:55:01 +02:00
|
|
|
void ws2801_send_update(void);
|
|
|
|
|
|
|
|
#endif // WS2801_H
|