I am using ESP8266 and ESP32CAM, and having issues when attempting to compile the CameraWebServer example. I have tried uninstalling Arduino.exe – and that did not help.
Any idea how to get around this issue?
Can you be a little more specific?
What kind of issues are you facing?
Are you selecting the right board in Tools> Board any time you change boards?
Type of issue – catastrophic :). Nothing really works when I switch boards – the default blank sketch cannot compile.
The only solution that I have found is to find the Local/Arduino15 directory and delete it.
Then, when I restart the Arduino IDE I re-import the board and it appears to work. Maybe it is time I explore the VS – platformIO IDE :).
Does the Arduino IDE behave better for you when you switch boards?
I never had any problems switching between boards using Arduino IDE.
When you switch boards, you need to select a new board in Tools > Board and a new COM port in Tools>Port.
If that doesn’t work as expected, I recommended uninstalling Arduino IDE and deleting all related files. Then, install Arduino IDE again and the ESP32 and ESP8266 add-ons.