Steuerung LED-Strip für ein Projekt

Ah mist sorry. Also nochmal:
Okay, vielen Dank schonmal an euch!

Ich bin jetzt von de 24V Streifen umgestiegen auf einen NeoPixelRing 24 LEDs, da ich das Ganze in einer Box verbauen möchte und das per Batterie speisen will. (Habe jetzt eine 9V Batterie, die ich direkt an den Arduino anschließen würde).
Die Idee ist immernoch die gleiche, ich habe jetzt einen Code hierfür geschrieben, jedoch zeigt er mir immer
'strip' was not declared in this scope an bzgl der Zeile high = strip.setPixelColor ...

Könnt ihr mir sagen woran das liegt und ob ich den Code einigermaßen passend geschrieben habe?

#include <Adafruit_NeoPixel.h>
#define NUM_LIGHTS  24
const int buttonPin = 8;
const int LEDPin = 1;
bool s = HIGH;
int t;
uint32_t low = strip.setPixelColor(0, 0, 0);
uint32_t high = strip.setPixelColor(225, 225, 225);


Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LIGHTS, LEDPin, NEO_GRB + NEO_KHZ800);

void setup() {
  strip.begin();
  strip.show(); // Initialize all pixels to 'off'
  pinMode(buttonPin, INPUT_PULLUP);
}

void loop() {

  s = digitalRead(buttonPin);
  if (s = HIGH) {

    t = random (60000, 180001);

    delay (t);



    for ( int i = 0; i < NUM_LIGHTS; i++) {
      strip.setPixelColor(i, high);
      strip.show();
    }
    delay(1000);

    for ( int i = 0; i < NUM_LIGHTS; i++) {
      strip.setPixelColor(i, low);
      strip.show();
    }

    delay(100);
  }

  else {
    digitalWrite (LEDPin, LOW);
  }
}