   3, 3, 3
 };
 
-  int count=0;
+int count=0;
+
+bool ringOn = false;
 
 void setup()
 {

   
}

void lightRing(uint8_t pos, uint32_t color){
  // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
  pixels.setPixelColor(pos, color); 
  pixels.show(); // This sends the updated pixel color to the hardware.
  delay (200);
  pixels.setPixelColor(pos, 0); 
  pixels.show();
}

// Slightly different, this makes the rainbow equally distributed throughout

        
        count++;
        if (count%2==1){
            analogWrite(motorPin, 200);
            ringOn = true;
            rainbowCycle(0);
        }
        else{
            analogWrite(motorPin, 0);
            ringOn = false;
            killRing();
        }
        break;
      case 'c':
        Serial.println("c");

        marioRainbowCycle2();
        
        //        int size = sizeof(underworld_melody) / sizeof(int);
        for (int thisNote = 0; thisNote < 8; thisNote++) {
          // to calculate the note duration, take one second
