r/ArduinoProjects • • Jun 26 '24

ESP32-CAM_MJPEG2SD issue

Post image

For context I’m trying to make a portable camera using s60sc’s code however when compiling his “globals.h” the error in the image occurs

NOTE: I have not yet connected the ESP32 cam to the laptop, I’m hoping that’s the issue but if it’s not can any of you lot please help me to fix this issue, THANKS!

0 Upvotes

4 comments sorted by

1

u/hjw5774 Jun 26 '24

You need to change your board settings in the IDE. 

If the problem persists then you'll need this library: https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp_arduino_version.h

1

u/Sammy-Jz Jun 26 '24

Thank you so much!

1

u/Sammy-Jz Jun 26 '24

Also the ESP32 cam came with this pcb that was connected to a micro usb port. Can you program the ESP32 cam with that? Or do you have to use a FTDI?

1

u/hjw5774 Jun 26 '24

You can use that board with the micro USB - think you need to press one of the buttons to go in to flashing mode.

To be honest, I've had no luck with those little PCBs so use an FTDI instead with no problems