28 lines
575 B
C
28 lines
575 B
C
|
#ifndef LED_PIXEL_h
|
||
|
#define LED_PIXEL_h
|
||
|
|
||
|
#include "Arduino.h"
|
||
|
|
||
|
#define neopixel false
|
||
|
|
||
|
#define PIN_STRIP1 4
|
||
|
#define PIN_STRIP2 21
|
||
|
#define PIN_STRIP3 16
|
||
|
#define PIN_STRIP4 12
|
||
|
#define NUM_LEDS 36
|
||
|
|
||
|
class Ledpixel{
|
||
|
public:
|
||
|
void begin();
|
||
|
void refresh();
|
||
|
void refresh_leds();
|
||
|
void demo_leds();
|
||
|
void select(int mode);
|
||
|
void st_strip(int led, bool red, bool green, bool blue, bool white);
|
||
|
void st_led(bool red, bool green, bool blue, bool white);
|
||
|
void mode1(int led_number);
|
||
|
void mode2(int led_intensity);
|
||
|
};
|
||
|
|
||
|
#endif
|