     strip.setBrightness(1);
     strip.show(); // Initialize all pixels to 'off'
 
+
+    Serial.print("Total number of frames: "); Serial.println(MAX_FRAME + 1);
+
 }
 
 void loop() {

//int sensorPin = A5;    // select the input pin for the potentiometer
//int sensorValue = 0;  // variable to store the value coming from the sensor

int j;
uint32_t i;
uint8_t d = 0;
uint8_t b = pow(2,7);
uint8_t g = pow(2,15);

}

uint16_t myRemoteRead() {
    uint16_t remoteFrame = MAX_FRAME + 1; // Start off with an invalid frame to ease debugging
    uint32_t remoteValue = 0;
    
    if (irrecv.decode(&results))  {  // have we received an IR signal?
      remoteValue = results.value;
      
      switch(remoteValue) {
        case 0xA3C8EDDB: // + button pressed
          remoteFrame = 0;
          break;
  
        case 0xE5CFBD7F: // - button pressed
          remoteFrame = 1;
          break;
  
        default: // Go here if none of the above buttons are pressed
          remoteFrame = 2;
          break;
      }

      irrecv.resume(); // Receive the next value
    }

    Serial.print("remoteValue = ");
    Serial.print(remoteValue);
    Serial.println();
    
    Serial.print("remoteFrame = ");
    Serial.print(remoteFrame);
    Serial.println();
    
    return remoteFrame;
}
