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.

29 lines
550 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. #define SERIAL_SPEED 9600
  2. /** BOUTON **/
  3. #define BUTTON_EYES_POWERPIN 2
  4. #define BUTTON_EYES_PIN 3
  5. #define BUTTON_PARTY_POWERPIN 4
  6. #define BUTTON_PARTY_PIN 5
  7. /** LED **/
  8. #define LED_PIN 6
  9. #define LED_CHIPSET WS2812B
  10. #define LED_COLOR_ORDER GRB
  11. #define LED_NUM 6
  12. #define LED_BRIGHTNESS 200
  13. #define LED_FPS 60
  14. bool ledPartyState = false;
  15. bool ledEyesState = false;
  16. CRGB leds[LED_NUM];
  17. void ledBlackAll();
  18. /** FIRE2012 **/
  19. #define COOLING 55
  20. #define SPARKING 120
  21. void setup();
  22. void loop();
  23. void Fire2012();