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

}

uint16_t myRemoteRead() {
    uint16_t remoteframe=3;
    Serial.print("remoteframe=");
    Serial.print(remoteframe);
    Serial.println();
    if (irrecv.decode(&results)) // have we received an IR signal?
    {
//switch(results.value){
        if(results.value==0xA3C8EDDB) {

//case 0xA3C8EDDB: // + button pressed
            remoteframe=1;  //set frame to 1 if remote control + button is pressed
            return remoteframe;
//break;
        }

        else if (results.value==0xE5CFBD7F) {
//case 0xE5CFBD7F: // - button pressed
            remoteframe=2;  //set frame to 1 if remote control + button is pressed
            return remoteframe;
//break;
        }

//frame=3; //set frame to default 3

    }
//irrecv.resume(); // receive the next value
    return remoteframe;
}

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

uint8_t d = 0;
uint8_t b = pow(2,7);
uint8_t g = pow(2,15);
