Hello Sara!
Following the instructions given in your book I was able to successfully check hardware&database operation using an ESP32, I’m still trying to fix the problem with “firebase tools” (Part #4).
On the other hand, when I try to compile same working sketch using an ESP8266 I get following error:
“ledcWrite was not declared in this scope”
Commenting the four lines where it’s used compilation is finished with success!
Please tell me what I should try, thanks.
The book provides different sketches for ESP32 and ESP8266.
You’re running an ESP32 code on the ESP8266.
Please run the right code for the board you’re using.
Hello Sara
Thanks for your information, I’ve compared both sketches and made the needed corrections, after this the sketch for ESP8266 was successfully compiled.
Thanks once again!