• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Firebase WEB Application ESP8266

Q&A Forum › Category: ESP8266 › Firebase WEB Application ESP8266
0 Vote Up Vote Down
Pedro Giammarusti asked 6 months ago

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.
 

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

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.

0 Vote Up Vote Down
Pedro Giammarusti answered 6 months ago

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!

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Great!
I’ll mark this issue as resolved.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.