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.

26 lines
426 B

3 years ago
  1. #define SERIAL_SPEED 115200
  2. /** BOUTON **/
  3. #define POWERPIN 2
  4. #define BUTTON_PIN 8
  5. int buttonState;
  6. /** LED **/
  7. #define LED_PIN 5
  8. #define LED_CHIPSET WS2812B
  9. #define LED_COLOR_ORDER GRB
  10. #define LED_NUM 30
  11. #define LED_BRIGHTNESS 200
  12. #define LED_FPS 60
  13. const bool gReverseDirection = false;
  14. CRGB leds[LED_NUM];
  15. /** FIRE2012 **/
  16. #define COOLING 55
  17. #define SPARKING 120
  18. void setup();
  19. void loop();
  20. void Fire2012();