I'm new to Arduino development and just trying to get some sample code working, piecing together parts. I have an ESP32-CAM that mostly works, but I think there's some incompatibility between the project source and the library. It seems that maybe something in the sensors library changed and the project's source code is outdated.
Cutting to the chase, I'm trying to figure out where the FRAMESIZE_UXGA macro is defined. I think it's a file called sensor.h, but I can't seem to figure out where that file (or any of the other library header files) is on my system. I'm using Linux, and installed the IDE using the appImage file.
I suspect that it's part of the ESP32 support that I installed following the instructions on this page:
So there's a lot about how the IDE and libraries work that I'm still trying to figure out. I think just finding where FRAMESIZE_UXGA is defined will help quite a bit.
Hi @ttabi. Arduino IDE 2.x has a useful "Go to definition" feature. You can right click on any item in the code and then select "Go to Definition" from the context menu. The file that contains the declaration of the object will then open in the Arduino IDE editor.
You can hover the mouse pointer over the tab of that file to see its full path.
Make sure you have a board selected from the Tools > Board menu before doing a "Go to definition" operation (because the board selection influences the sketch program). Objects from libraries are only accessible via this feature after you have compiled the sketch at least once.