     myCAM.rdSensorReg16_8(OV3640_CHIPID_HIGH, &vid);
     myCAM.rdSensorReg16_8(OV3640_CHIPID_LOW, &pid);
     if ((vid != 0x36) || (pid != 0x4C)){
-      Serial.println(F("Can't find OV3640 module!"));
+      Serial.println(F("ACK CMD Can't find OV3640 module! END"));
       delay(1000);continue; 
     }else{
-      Serial.println(F("OV3640 detected."));break;    
+      Serial.println(F("ACK CMD OV3640 detected. END"));break;    
     }
  } 
 #else

    myCAM.rdSensorReg16_8(OV5642_CHIPID_HIGH, &vid);
    myCAM.rdSensorReg16_8(OV5642_CHIPID_LOW, &pid);
    if((vid != 0x56) || (pid != 0x42)){
      Serial.println(F("ACK CMD Can't find OV5642 module!"));
      delay(1000);continue;
    }
    else{
     Serial.println(F("ACK CMD OV5642 detected."));break;
    } 
  }
#endif

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