parent
453aa2134e
commit
3731e08bb5
|
@ -21,6 +21,8 @@
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef OctoWS2811_h
|
||||||
|
#define OctoWS2811_h
|
||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include "DMAChannel.h"
|
#include "DMAChannel.h"
|
||||||
|
@ -45,7 +47,6 @@ class OctoWS2811 {
|
||||||
public:
|
public:
|
||||||
OctoWS2811();
|
OctoWS2811();
|
||||||
void attach(uint32_t numPerStrip, void *frameBuf, void *drawBuf, uint8_t config = WS2811_GRB);
|
void attach(uint32_t numPerStrip, void *frameBuf, void *drawBuf, uint8_t config = WS2811_GRB);
|
||||||
|
|
||||||
void begin(void);
|
void begin(void);
|
||||||
|
|
||||||
void setPixel(uint32_t num, int color);
|
void setPixel(uint32_t num, int color);
|
||||||
|
@ -74,3 +75,4 @@ private:
|
||||||
static void isr(void);
|
static void isr(void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue