Greetings! I am following SMART HOME with Raspberry Pi, ESP32, and ESP8266 V1.1 at section 5.2. When I download and run the sketch for ESP8266 everything works fine. When I try to compile the ESP32 sketch I get the following error: “Compilation error: ‘LED_BUILTIN’ was not declared in this scope” at line 116 and 119. I’m using an ESP 32 WROOM 32D. The WIFISCAN example works OK for both boards. I tried sweet talking to it but it still wouldn’t behave. Any suggestions?
I had this same problem but that was days ago so bear with me as I try to reconstruct the solution. I believe that it was the board selection. Try changing to NodeMCU-32S and see if that makes a difference.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara