• 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

ESP8266 ESP IOT error

Q&A Forum › Category: ESP8266 › ESP8266 ESP IOT error
0 Vote Up Vote Down
Larry asked 2 years ago

Using Platform IO I get the following error
28 | #include <Adafruit_Sensor.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
When I got it the first time I went back to lib and made sure it was included, it thengame me the error on li e 26 , I put it on line 26 and it gave me the error line 28 ,I tried to put it in the beginning of the file and still no luck, any help here.

Question Tags: WEB Server
8 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
What’s exactly the project you’re trying to run?
Can you paste the complete error code?
Regards,
Sara

0 Vote Up Vote Down
Larry answered 2 years ago

Using VS / platform IO , not sure how to copy complete code, can you tell me if all you need is the cpp or complete code and how to. Totally new to this software 

0 Vote Up Vote Down
Larry answered 2 years ago

Using VS / platform IO , not sure how to copy complete code, can you tell me if all you need is the cpp or complete code and how to. Totally new to this software 

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

But are you following any eBook or specific project?
We have this getting started guide that explains how to have a code running on VS Code: https://randomnerdtutorials.com/vs-code-platformio-ide-esp32-esp8266-arduino/

0 Vote Up Vote Down
Larry answered 2 years ago

Figured out the error, must not have installed the right library in the right project folder. Thanks

Now when I go to the Firebase portal , I don’t see that I was successful, last time i was on it , was in Feb ,I did restart the 8266 by pressing the reset button.

Just a question here , I am using a ESP – 12F Doiting , did not see that option in the board library of the Platform IO so I used the Expressif 12-E.

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

If you have trouble with that option, you can also try selecting the “Generic ESP8266” option.
Regards,
Sara

0 Vote Up Vote Down
Larry answered 2 years ago

Thank you Sara , you can mark this resolved 

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

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

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.