ArduCAM / PICO_SPI_CAM

BSD Zero Clause License
36 stars 12 forks source link

Single frame capture error in C, "Panic out of memory" #16

Open drperpen opened 3 months ago

drperpen commented 3 months ago

Hi, I would like to capture a single frame in high resolution but I am having problems using the C example: Arducam_MINI_5MP_Plus_Videostreaming.

When I modify:

https://github.com/ArduCAM/PICO_SPI_CAM/blob/378f3c045122b99625f59ad5fcb1aed057de7e53/C/Examples/Arducam_MINI_5MP_Plus_Videostreaming/Arducam_MINI_5MP_Plus_Videostreaming.cpp#L89

it works fine with lower resolutions but if I set it to: OV5642_1600x1200 or OV5642_2048x1536 or OV5642_2592x1944

I get this error:

*** PANIC ***

Out of memory

Thanks!