eloquentarduino / EloquentSurveillance

GNU General Public License v3.0
40 stars 10 forks source link

Which Arduino IDE version and "Arduino core for ESP32" version to use? #3

Open FBMinis opened 2 years ago

FBMinis commented 2 years ago

My AiThinker camera runs other program correctly but I'm get the following error:

18:14:28.621 -> [INFO] Init
18:14:28.668 -> E (3918) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
18:14:28.668 -> [ERROR] Init error
18:14:28.668 -> E (3919) gpio: gpio_install_isr_service(449): GPIO isr service already installed
18:14:28.715 -> E (3954) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
Patriboom commented 1 year ago

To fix that, I'm using those libraries:

#include "soc/soc.h"             // disable brownout problems
#include "soc/rtc_cntl_reg.h"    // disable brownout problems

and that code in setup() WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable brownout detector

Those librairies are supposed to be enabled from you .arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/include/soc/soc directory otherwise, let me know; I'll add to my github