diff --git a/Feather_RP2040_Adalogger/Arduino_RP2040_Adalogger_microSD/Arduino_RP2040_Adalogger_microSD.ino b/Feather_RP2040_Adalogger/Arduino_RP2040_Adalogger_microSD/Arduino_RP2040_Adalogger_microSD.ino index f90338bcf..2906dbc35 100644 --- a/Feather_RP2040_Adalogger/Arduino_RP2040_Adalogger_microSD/Arduino_RP2040_Adalogger_microSD.ino +++ b/Feather_RP2040_Adalogger/Arduino_RP2040_Adalogger_microSD/Arduino_RP2040_Adalogger_microSD.ino @@ -30,7 +30,7 @@ #define SD_CS_PIN 23 SdFat SD; -File32 myFile; +FsFile myFile; SdSpiConfig config(SD_CS_PIN, DEDICATED_SPI, SD_SCK_MHZ(16), &SPI1); void setup() { diff --git a/Mini_GIF_Players/.feather_rp2040.test.only b/Mini_GIF_Players/.none.test.only similarity index 100% rename from Mini_GIF_Players/.feather_rp2040.test.only rename to Mini_GIF_Players/.none.test.only diff --git a/Sparkle_Motion_Mini_Examples/Arduino_Sparkle_Motion_Mini_Multi_NeoPixels/Arduino_Sparkle_Motion_Mini_Multi_NeoPixels.ino b/Sparkle_Motion_Mini_Examples/Arduino_Sparkle_Motion_Mini_Multi_NeoPixels/Arduino_Sparkle_Motion_Mini_Multi_NeoPixels.ino new file mode 100644 index 000000000..0c337ed4b --- /dev/null +++ b/Sparkle_Motion_Mini_Examples/Arduino_Sparkle_Motion_Mini_Multi_NeoPixels/Arduino_Sparkle_Motion_Mini_Multi_NeoPixels.ino @@ -0,0 +1,41 @@ +// SPDX-FileCopyrightText: 2025 Liz Clark for Adafruit Industries +// +// SPDX-License-Identifier: MIT + +#include + +#define BLOCK_1 33 +#define BLOCK_2 32 +#define NUM_PIXELS 8 + +Adafruit_NeoPixel STRIP_1(NUM_PIXELS, BLOCK_1, NEO_GRB + NEO_KHZ800); +Adafruit_NeoPixel STRIP_2(NUM_PIXELS, BLOCK_2, NEO_GRB + NEO_KHZ800); + +void setup() { + STRIP_1.begin(); + STRIP_2.begin(); + STRIP_1.setBrightness(25); + STRIP_2.setBrightness(50); +} + +uint16_t pixelHue_1 = 0; +uint16_t pixelHue_2 = 256; + +void loop() { + pixelHue_1 += 256; + for(int i=0; i-1; i--) { + int hue_2 = pixelHue_2 + (i * 65536L / STRIP_2.numPixels()); + STRIP_2.setPixelColor(i, STRIP_2.gamma32(STRIP_2.ColorHSV(hue_2))); + } + STRIP_2.show(); + + delay(10); + +}