Skip to content

Commit 2d1db52

Browse files
committed
Fixed error in code
1 parent ac94df7 commit 2d1db52

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

Glowing_Mirror_Mask/Glowing_Mirror_Mask/Glowing_Mirror_Mask.ino

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,20 @@
66
#include <Adafruit_GFX.h>
77
#include <Adafruit_ST7735.h>
88
#include <Adafruit_NeoPixel.h>
9+
#include <FastLED.h>
910

1011
// Enable ONE of these lines to select an animation,
1112
// others MUST be commented out!
1213

13-
#include "fire.h"
14-
//#include "butterfly.h"
14+
//#include "fire.h"
15+
#include "butterfly.h"
1516

1617
#define TFT_CS 39
1718
#define TFT_RST 37
1819
#define TFT_DC 38
1920
#define TFT_BACKLIGHT 7
2021

21-
#include <FastLED.h>
22-
23-
#define LED_PIN 12 // Hallowing's neopixel port is on pin 4
22+
#define LED_PIN 4 // Hallowing's neopixel port is on pin 4
2423
#define NUM_LEDS 30 // Change this to reflect how many LEDs you have
2524
#define LED_TYPE WS2812 // Neopixels
2625
#define COLOR_ORDER GRB
@@ -46,8 +45,8 @@ void setup(void) {
4645
FastLED.addLeds<LED_TYPE, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS); // WS2812B
4746
FastLED.setBrightness(brightness);
4847

49-
//currentPalette = RainbowColors_p; //Uncomment ONE of these lines to choose your Neopixel color palette
50-
currentPalette = HeatColors_p;
48+
currentPalette = RainbowColors_p; //Uncomment ONE of these lines to choose your Neopixel color palette
49+
//currentPalette = HeatColors_p;
5150
//currentPalette = PartyColors_p;
5251
//currentPalette = CloudColors_p;
5352
//currentPalette = RainbowStripeColors_p;

0 commit comments

Comments
 (0)