- Serial.printf("Before camera config ... SPIRam Total heap %d, SPIRam Free Heap %d", ESP.getPsramSize(), ESP.getFreePsram())
- cam_err = esp_camera_init(&config);
- Serial.printf("After camera config ... SPIRam Total heap %d, SPIRam Free Heap %d", ESP.getPsramSize(), ESP.getFreePsram())
Will give the following printed:-
Code: Select all
Before camera config ... SPIRam Total heap 4194252, SPIRam Free Heap 4194252
After camera config ... SPIRam Total heap 4194204, SPIRam Free Heap 1314204
I am using AI-Thinker board ESP32-Cam.
(I am following this code: https://github.com/jameszah/ESP32-CAM-V ... der-junior)