   leds.show();
   switchValue = analogRead(switchPin);
   Serial.println(switchValue);
+  wait_nat = 320000/(20*nat);
+  
+  wait_60 = wait_nat/.6;
+  
+  wait_30 = wait_nat/.3;
+  
+  
   if(switchValue < 100){
     analogWrite(viconTriggerPin, 20);
     digitalWrite(13, HIGH);

#include "WS2812_Definitions.h"

#define PIN 4
#define LED_COUNT 48

// Create an instance of the Adafruit_NeoPixel class called "leds".
// That'll be what we refer to from here on...

    digitalWrite(13,LOW);
      readySetGo(1500);
      // First parameter is the color, second is direction, third is ms between falls
      // 20 LEDs
      cascade(MEDIUMSPRINGGREEN, TOP_DOWN, wait_60);
      clearLEDs();
      leds.show();
      
