lemariva / uPyCam

Take a photo with an ESP32-CAM running MicroPython
https://lemariva.com/blog/2019/09/micropython-how-about-taking-photo-esp32
Apache License 2.0
140 stars 42 forks source link

camera.capture() False #22

Open dcmcshan opened 2 months ago

dcmcshan commented 2 months ago

I am running on a M5CAMERA, initializes okay, but capture returns false. I have waiting fairly long times to allow sensor to come up and focus. Any ideas?

`MicroPython v1.21.0 on 2023-10-13; ESP32 module with Camera with ESP32 Type "help()" for more information.

import camera camera.init(0, d0=32, d1=35, d2=34, d3=5, d4=39, d5=18, d6=36, d7=19, format=camera.JPEG, xclk_freq=camera.XCLK_10MHz, href=26, vsync=25, reset=15, sioc=23, siod=22, xclk=27, pclk=21)

True

camera.capture() False `