Skip to content

Commit e7cb145

Browse files
authored
Merge pull request #3117 from adafruit/fastled_ci
arduino CI fix for fastled
2 parents d258258 + c669ca8 commit e7cb145

File tree

16 files changed

+61
-10
lines changed

16 files changed

+61
-10
lines changed

Ada_remoteFXTrigger_NeoTrellis_FastLED_RX/Ada_remoteFXTrigger_NeoTrellis_FastLED_RX.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515

1616
#include <FastLED.h>
1717

18+
#if defined(FASTLED_VERSION) && FASTLED_VERSION > 3010001
19+
#error "FastLED 3.10.2 has known compile issues with SAMD boards. Please downgrade to FastLED 3.10.1"
20+
#endif
21+
1822
#define LED_PIN 12
1923
#define NUM_LEDS 20
2024
#define LED_TYPE WS2812B
@@ -372,5 +376,3 @@ void FillLEDsFromPaletteColors( uint8_t colorIndex)
372376
colorIndex += STEPS;
373377
}
374378
}
375-
376-

Ever_Burning_Flame_Painting/Ever_Burning_Flame_Painting.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
#include <Adafruit_CircuitPlayground.h>
66
#include <FastLED.h> // add FastLED library AFTER Circuit Playground library to avoid issues
77

8+
#if defined(FASTLED_VERSION) && FASTLED_VERSION > 3010001
9+
#error "FastLED 3.10.2 has known compile issues with SAMD boards. Please downgrade to FastLED 3.10.1"
10+
#endif
11+
812
#define STRIP1_DATA_PIN 9 // define data pins for all 3 LED strips
913
#define STRIP2_DATA_PIN 12
1014
#define STRIP3_DATA_PIN 6

GemmaM0_Band_Jacket/DiscoBandCamp/DiscoBandCamp.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
#include "effects.h"
4444
#include "buttons.h"
4545

46+
#if defined(FASTLED_VERSION) && FASTLED_VERSION > 3010001
47+
#error "FastLED 3.10.2 has known compile issues with SAMD boards. Please downgrade to FastLED 3.10.1"
48+
#endif
49+
4650
// list of Functions:
4751
functionList effectList[] = {SolidRed, //all pixels solid red
4852
swirly, //glittery swirly patterns

Gemma_M0_NeoPixel_Dress/Gemma_M0_NeoPixel_Dress.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
#include <Wire.h>
77
#include "Adafruit_TCS34725.h"
88

9+
#if defined(FASTLED_VERSION) && FASTLED_VERSION > 3010001
10+
#error "FastLED 3.10.2 has known compile issues with SAMD boards. Please downgrade to FastLED 3.10.1"
11+
#endif
12+
913
#define DATA_PIN 1
1014
#define LED_TYPE WS2812B
1115
#define COLOR_ORDER GRB

Glowing_Beehive_Hairdo_Wig/Glowing_Beehive_Hairdo_Wig.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
#include <Adafruit_CircuitPlayground.h> // add this before the FastLED library to avoid issues
99
#include <FastLED.h>
1010

11+
#if defined(FASTLED_VERSION) && FASTLED_VERSION > 3010001
12+
#error "FastLED 3.10.2 has known compile issues with SAMD boards. Please downgrade to FastLED 3.10.1"
13+
#endif
14+
1115
#define LED_PIN 6 //led strand is soldered to pin 6
1216
#define CP_PIN 17 //circuit playground's neopixels live on pin 17
1317
#define NUM_LEDS 12 // number of LEDs in my strand

Glowing_Mirror_Mask/Glowing_Mirror_Mask/Glowing_Mirror_Mask.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
#include <Adafruit_NeoPixel.h>
1313
#include <FastLED.h>
1414

15+
#if defined(FASTLED_VERSION) && FASTLED_VERSION > 3010001
16+
#error "FastLED 3.10.2 has known compile issues with SAMD boards. Please downgrade to FastLED 3.10.1"
17+
#endif
18+
1519
// Enable ONE of these lines to select an animation,
1620
// others MUST be commented out!
1721

Jack_O_LED_trix/Jack_O_LED_trix.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
#include "colorutils.h"
3030
#include "colorpalettes.h"
3131

32+
#if defined(FASTLED_VERSION) && FASTLED_VERSION > 3010001
33+
#error "FastLED 3.10.2 has known compile issues with SAMD boards. Please downgrade to FastLED 3.10.1"
34+
#endif
35+
3236
#define BRIGHTNESS 128
3337

3438
//Define the type of pixels you are using on the next line here.

LED_Harness_Bra/LED_Harness_Bra.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Summary:
1616
#include <FastLED.h>
1717
#include <Adafruit_CircuitPlayground.h>
1818

19+
#if defined(FASTLED_VERSION) && FASTLED_VERSION > 3010001
20+
#error "FastLED 3.10.2 has known compile issues with SAMD boards. Please downgrade to FastLED 3.10.1"
21+
#endif
22+
1923
// Circuit Playground Setup----------------------------------------------------
2024
#define CP_PIN 8 //CPX neopixels live on pin 8, CP live on pin 17
2125
#define NUM_CP 10 //number of neopixels on the CP

Neopixel_Aquarium/Neopixel_Aquarium.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#include "Adafruit_FreeTouch.h"
1010
#include "FastLED.h"
1111

12+
#if defined(FASTLED_VERSION) && FASTLED_VERSION > 3010001
13+
#error "FastLED 3.10.2 has known compile issues with SAMD boards. Please downgrade to FastLED 3.10.1"
14+
#endif
15+
1216
#define CAPTOUCH_PIN A2 //A2 capacitive touch pin
1317
#define CAPTOUCH_PIN2 A3 //A3 capacitive touch pin
1418
#define NEOPIXEL_PIN A1 //A1 neopixel pin

Programmable_12v_Outdoor_Cafe_Lights/Programmable_12v_Outdoor_Cafe_Lights.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
//
1616
#include "FastLED.h"
1717

18+
#if defined(FASTLED_VERSION) && FASTLED_VERSION > 3010001
19+
#error "FastLED 3.10.2 has known compile issues with SAMD boards. Please downgrade to FastLED 3.10.1"
20+
#endif
21+
1822
#define DATA_PIN SCL
1923
#define LED_TYPE WS2812
2024
#define COLOR_ORDER RBG // If colors are coming out wrong, re-order (RGB, BRG, etc)

0 commit comments

Comments
 (0)