Masque Halloween illuminé
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
476 B

#define SERIAL_SPEED 115200
/** BOUTON **/
#define BUTTON_POWER_PIN 2
#define BUTTON_PIN 8
int buttonState;
/** LED **/
#define LED_PIN 5
#define LED_CHIPSET WS2812B
#define LED_COLOR_ORDER GRB
#define LED_NUM 30
#define LED_BRIGHTNESS 200
#define LED_FPS 60
const bool gReverseDirection = false;
CRGB leds[LED_NUM];
void ledBlackAll();
/** FIRE2012 **/
#define COOLING 55
#define SPARKING 120
void setup();
void loop();
void Fire2012();