#include <Adafruit_NeoPixel.h>

// Pin Definitions
#define PIN_1 2  // GP2
#define PIN_2 3  // GP3

// Number of LEDs per strip
#define NUM_PIXELS 8  

// NeoPixel Objects
Adafruit_NeoPixel strip1(NUM_PIXELS, PIN_1, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel strip2(NUM_PIXELS, PIN_2, NEO_GRB + NEO_KHZ800);

void setup() {
  strip1.begin();
    strip2.begin();
      strip1.show(); // Initialize all pixels to 'off'
        strip2.show();
        }

        void loop() {
          rainbowCycle(strip1, 10);  // Run rainbow on strip 1
            rainbowCycle(strip2, 10);  // Run rainbow on strip 2
            }

            // Function to display a rainbow effect
            void rainbowCycle(Adafruit_NeoPixel &strip, int wait) {
              for (int j = 0; j < 256; j++) {
                  for (int i = 0; i < strip.numPixels(); i++) {
                        int pixelHue = (i * 256 / strip.numPixels() + j) & 255;
                              strip.setPixelColor(i, strip.gamma32(strip.ColorHSV(pixelHue * 65536L / 256)));
                                  }
                                      strip.show();
                                          delay(wait);
                                            }
                                            }
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
pico:GP0
pico:GP1
pico:GND.1
pico:GP2
pico:GP3
pico:GP4
pico:GP5
pico:GND.2
pico:GP6
pico:GP7
pico:GP8
pico:GP9
pico:GND.3
pico:GP10
pico:GP11
pico:GP12
pico:GP13
pico:GND.4
pico:GP14
pico:GP15
pico:GP16
pico:GP17
pico:GND.5
pico:GP18
pico:GP19
pico:GP20
pico:GP21
pico:GND.6
pico:GP22
pico:RUN
pico:GP26
pico:GP27
pico:GND.7
pico:GP28
pico:ADC_VREF
pico:3V3
pico:3V3_EN
pico:GND.8
pico:VSYS
pico:VBUS
rgb1:VDD
rgb1:DOUT
rgb1:VSS
rgb1:DIN
rgb2:VDD
rgb2:DOUT
rgb2:VSS
rgb2:DIN