16 lines
321 B
C
16 lines
321 B
C
#ifndef WS2801_H
|
|
#define WS2801_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define MAX_NUM_MODULES 255
|
|
|
|
extern uint32_t ws2801_num_modules;
|
|
|
|
void ws2801_init(void);
|
|
void ws2801_set_colour(uint32_t module, uint8_t red, uint8_t green, uint8_t blue);
|
|
void ws2801_send_update(void);
|
|
void ws2801_set_num_modules(uint32_t n);
|
|
|
|
#endif // WS2801_H
|