  */
 void updateBlinkers(int indexOfX, int indexOfY){
   //Creates array for pixels
-  int px[NUMPIXELS];
+  RgbColor px[NUMPIXELS];
+  for(int i = 0; i < NUMPIXELS; i++){
+    px[i] = RgbColor(0,0,0);
+  }
   //Pick which variable is greater in magnitude.
     //If X>Y the result should be 0
     if((indexOfX % indexOfY) == 0){
       if(indexOfX < 0 ){
         //Update Left
-        px = {(NUMPIXELS/2 - 1),NUMPIXELS - 1};
+        //px[(NUMPIXELS/2 - 1)] = RgbColor(255,127,0);
+        //px[NUMPIXELS - 1] =  RgbColor(255,127,0);
+        px[2] = RgbColor(80,40,0);
+        px[5] =  RgbColor(80,40,0);
       }else if (indexOfX > 0){
         //update Right
-        px = {0,(NUMPIXELS/2)};
+        //px[0] =  RgbColor(255,127,0);
+        //px[(NUMPIXELS/2)] = RgbColor(255,127,0);
+        px[0] =  RgbColor(80,40,0);
+        px[3] = RgbColor(80,40,0);
       }else{
-        //Equals 0 no indication
-        for(int i=0;i<NUMPIXELS;i++){
-          px[i] = i;
-        }
+        //Equals 0 no indication        
       }      
     }else{
       if(indexOfY < 0 ){
-        for(int i=0;i<(NUMPIXELS/2);i++){
-          px[i] = i;
-        }
+        //px[(NUMPIXELS/2) - 2] = RgbColor(255,127,0);
+        //px[(NUMPIXELS/2) - 1] = RgbColor(255,127,0);
+        //px[(NUMPIXELS/2)] = RgbColor(255,127,0);
+        px[0] = RgbColor(80,40,0);
+        px[1] = RgbColor(80,40,0);
+        px[2] = RgbColor(80,40,0);
       }else if (indexOfY > 0){
-        for(int i=(NUMPIXELS/2);i<NUMPIXELS;i++){
-          px[i] = i;
-        }
+        //px[(NUMPIXELS) - 2] = RgbColor(255,127,0);
+        //px[(NUMPIXELS) - 1] = RgbColor(255,127,0);
+        //px[(NUMPIXELS)] = RgbColor(255,127,0);        
+        px[3] = RgbColor(80,40,0);
+        px[4] = RgbColor(80,40,0);
+        px[5] = RgbColor(80,40,0);
       }else{
         //Equals 0 no indication
-        for(int i=0;i<NUMPIXELS;i++){
-          px[i] = i;
-        }
       }  
     }
-    int i = 0;
-    while(px[i] != null){    
+    
+    for(int i = 0; i< NUMPIXELS; i++){
       // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
-      pixels.setPixelColor(px[i], pixels.Color(255,127,0)); // Orange colour.
-      pixels.show(); // This sends the updated pixel color to the hardware.
+      strip.SetPixelColor(i, px[i]); // Orange colour.
+      strip.Show(); // This sends the updated pixel color to the hardware.
       //delay(delayval); // Delay for a period of time (in milliseconds).
-      i ++;
     }
 }
 

// stepper without PWM/speed input pins, don't use D0
const int motorLeftA  = D5;
const int motorLeftB  = D6;
const int motorRightA = D2;
const int motorRightB = D1;

motorController motors(motorLeftA,motorLeftB,motorRightA,motorRightB);


    //Blinker Addon
    //Only operates if enabled in RGB options above
    if(useBlinkers == true){
      updateBlinkers(dX,dY);
    }

  }else{
