       break;
     case DISK_HOMING:
       Serial.println(" homing");
+      direction = DIR_CCW;
       break;
     }
   }

#define USER2_STR "2"

// Which pin on the Arduino is connected to the NeoPixels?
#define NEOPIXEL_PIN 2
// Right now, using a ring of 16 pixels
#define NUMNEOPIXELS 16
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMNEOPIXELS, NEOPIXEL_PIN, NEO_GRB + NEO_KHZ800);

  setupCommands();
}

void setAllColors(uint32_t col) {
  for (int i = 0; i < NUMNEOPIXELS; i++) neopixels[i].setColor(col);
  pixels.show(); // This sends the updated pixel color to the hardware. 
}

// Reset everything to initial state
void reset(bool debug)
{
  setupIR();
  for (int i=0;i<3;i++) disk[i].setup();
  pixels.begin(); // This initializes the NeoPixel library.
  setAllColors(BLACK);
  setGlobalState(STATE_IDLE);

  global_debug = debug;
