   pixels.begin(); // This initializes the NeoPixel library.
   for(int i=0;i<NUMPIXELS;i++){
     // Zet de beginkleur op wit
-    pixels.setPixelColor(i, pixels.Color(255, 255, 255));
+    pixels.setPixelColor(i, WIT);
   }
   pixels.show(); 
 }


const int sensor1;
int delayval = 200; // delay for half a second
int ms = 0;         // Aantal milliseconden dat de trein over het traject sensor1 -> sensor2 doet
int aantal_leds;
boolean trein_langs;


#define NUMPIXELS      10
#define SENSOR_THRESHOLD 400    

#define IDLE_TIME 300*1000
#define WIT pixels.Color(255,255,255)
#define UIT pixels.Color(0,0,0)
#define KLEUR pixels.Color(200, 100, 0)

// When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals.
// Note that for older NeoPixel strips you might need to change the third parameter--see the strandtest
