esp8266-ws2801d/src/ws2801.h

16 lines
321 B
C
Raw Permalink Normal View History

2017-03-01 23:56:34 +01:00
#ifndef WS2801_H
#define WS2801_H
#include <stdint.h>
2017-03-05 01:55:40 +01:00
#define MAX_NUM_MODULES 255
extern uint32_t ws2801_num_modules;
2017-03-01 23:56:34 +01:00
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);
2017-03-05 01:55:40 +01:00
void ws2801_set_num_modules(uint32_t n);
2017-03-01 23:56:34 +01:00
#endif // WS2801_H