I have the exact issue described by AlSimon on 25 Feb in #8. I'm using same firmware, uPyCam at same commit, and get the same error. (I am using VSCode and PyMakr). I have tried erasing and flashing two (identical) boards in case it was a hardware issue.
I have also tried using VSCode PyMakr Terminal to:
import cameracamera.init(0, format=camera.JPEG)
... and get the error ...
#################################
>>> import camera
>>> camera.init(0, format=camera.JPEG)
E (22940) gpio: gpio_install_isr_service(449): GPIO isr service already installed
E (22940) camera: Camera probe failed with error 0x103(ESP_ERR_INVALID_STATE)
E (22950) camera: Camera Init Failed
Traceback (most recent call last):
File "\<stdin>", line 1, in
OSError: Camera Init Failed
>>>
#################################
As advised in Issue #8, opening this issue again.
I have the exact issue described by AlSimon on 25 Feb in #8. I'm using same firmware, uPyCam at same commit, and get the same error. (I am using VSCode and PyMakr). I have tried erasing and flashing two (identical) boards in case it was a hardware issue.
I have also tried using VSCode PyMakr Terminal to:
import camera
camera.init(0, format=camera.JPEG)
... and get the error ...################################# >>> import camera >>> camera.init(0, format=camera.JPEG) E (22940) gpio: gpio_install_isr_service(449): GPIO isr service already installed E (22940) camera: Camera probe failed with error 0x103(ESP_ERR_INVALID_STATE) E (22950) camera: Camera Init Failed Traceback (most recent call last): File "\<stdin>", line 1, in
OSError: Camera Init Failed
>>>
#################################
This appears the same issue as raised by ESPWarren in issue 14 (https://github.com/lemariva/uPyCam/issues/14)
Most likely I'm making some basic error. Maybe someone that has been-there-got-past-this problem can say what I'm doing wrong!