Raphaël Vinot 2015-03-29 17:57:33 +02:00
parent 453aa2134e
commit 3731e08bb5
1 changed files with 5 additions and 3 deletions

View File

@ -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