arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.23k stars 381 forks source link

blink example fails to compile for ESP32CAM #525

Closed s0170071 closed 2 years ago

s0170071 commented 2 years ago

compiling for EPS8266 works fine, but for the ESP32CAM it does not.


/tmp/.arduinoIDE-unsaved202195-14975-1nlgwg2.ssc6/Blink/Blink.ino: In function 'void setup()':
/tmp/.arduinoIDE-unsaved202195-14975-1nlgwg2.ssc6/Blink/Blink.ino:28:11: error: 'LED_BUILTIN' was not declared in this scope
   pinMode(LED_BUILTIN, OUTPUT);
           ^
/tmp/.arduinoIDE-unsaved202195-14975-1nlgwg2.ssc6/Blink/Blink.ino: In function 'void loop()':
/tmp/.arduinoIDE-unsaved202195-14975-1nlgwg2.ssc6/Blink/Blink.ino:33:16: error: 'LED_BUILTIN' was not declared in this scope
   digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
                ^
Compilation error: Error: 13 INTERNAL: exit status 1
per1234 commented 2 years ago

Thanks for your interest in this open source project. This issue tracker is only to be used to report bugs or feature requests. This topic is more appropriate for the Arduino Forum. I'm sure we'll be able to help you with your problem over there:

https://forum.arduino.cc/