   myCAM.clear_bit(ARDUCHIP_GPIO,GPIO_PWDN_MASK);
   #if defined (OV2640_MINI_2MP)   
     myCAM.OV2640_set_JPEG_size(OV2640_320x240);delay(1000);
-    Serial.println(F("ACK CMD switch to OV2640_320x240")); 
+    Serial.println(F("ACK CMD switch to OV2640_320x240 END")); 
   #elif defined (OV3640_MINI_3MP)
       myCAM.OV3640_set_JPEG_size(OV3640_352x288);delay(1000);
-      Serial.println(F("ACK CMD switch to OV3640_352x288"));   
+      Serial.println(F("ACK CMD switch to OV3640_352x288 END"));   
   #else   
     myCAM.OV5642_set_JPEG_size(OV5642_1024x768);delay(1000);
-    Serial.println(F("ACK CMD switch to OV5642_1024x768"));  
+    Serial.println(F("ACK CMD switch to OV5642_1024x768 END"));  
   #endif 
   myCAM.set_bit(ARDUCHIP_GPIO,GPIO_PWDN_MASK);  
   break;

  myCAM.clear_bit(ARDUCHIP_GPIO,GPIO_PWDN_MASK);
  #if defined (OV2640_MINI_2MP)
    myCAM.OV2640_set_JPEG_size(OV2640_176x144);delay(1000);
    Serial.println(F("ACK CMD switch to OV2640_176x144"));
  #elif defined (OV3640_MINI_3MP)
      myCAM.OV3640_set_JPEG_size(OV3640_320x240);delay(1000);
      Serial.println(F("ACK CMD switch to OV3640_320x240"));       
  #else
    myCAM.OV5642_set_JPEG_size(OV5642_640x480);delay(1000);
    Serial.println(F("ACK CMD switch to OV5642_640x480"));
  #endif
  myCAM.set_bit(ARDUCHIP_GPIO,GPIO_PWDN_MASK);
  break;

  myCAM.clear_bit(ARDUCHIP_GPIO,GPIO_PWDN_MASK);
  #if defined (OV2640_MINI_2MP) 
    myCAM.OV2640_set_JPEG_size(OV2640_160x120);delay(1000);
    Serial.println(F("ACK CMD switch to OV2640_160x120 END")); 
 #elif defined (OV3640_MINI_3MP)
    myCAM.OV3640_set_JPEG_size(OV3640_176x144);delay(1000);
    Serial.println(F("ACK CMD switch to OV2640_160x120 END"));
  #else
    myCAM.OV5642_set_JPEG_size(OV5642_320x240);delay(1000);
    Serial.println(F("ACK CMD switch to OV5642_320x240 END"));
  #endif 
  myCAM.set_bit(ARDUCHIP_GPIO,GPIO_PWDN_MASK); 
  break;
