• 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

main cpp for building webservers section 2.3

Q&A Forum › Category: ESP8266 › main cpp for building webservers section 2.3
0 Vote Up Vote Down
Wally Harwood asked 2 years ago

while loading the main.cpp code for section 2.3 (switch LED)of the Build Webservers webbook into Platformio I get these  errors:
https://imgur.com/a/Ci8vE5x
I get similar errors when loading the code for section 2.4 ( sliders) – same line numbers
I have tried copying the code from within the text and from the composite at the end but get the same result. I am confused because the indicated errors are at insignificant locations ( blanks or inside comments) . the locations are underlined with red squiggles. I have tried overtyping and pasting over but to no avail. 
Please help

2 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Just ignore the red lines and compile and upload the code.
Does it work?
Usually, those red lines will go away after compiling the code.
Regards,
Sara

0 Vote Up Vote Down
Wally Harwood answered 2 years ago

Thank you Sara. 
Compiling failed, so  I did a reload of Platformio and the errors disappeared.  
We can consider this problem as solved. 
Thank you 

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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

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

Copyright © 2013-2025 · 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.