• 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 using 8266 ,platform io errors

Q&A Forum › Category: ESP8266 › Firebase using 8266 ,platform io errors
0 Vote Up Vote Down
Larry asked 3 months ago

     So I am attempting the ESP IOT App , firebase project. I am at the part to send data to the database , page 54 , all went well up to this point. Now as I go through the tutorial i have 6 errors that I am not able to get past . I edited the scrip as instructed and got the errors, thinking that I may not have done something incorrect i actuall cut and paste the script , then added my credentials and still got theses errors. 
‘sendData’ was not declared in this scope
identifier “sendData” is undefined
[{
“resource”: “/c:/Users/HP/Documents/PlatformIO/Projects/Monday_test/src/main.cpp”,
“owner”: “cpp”,
“severity”: 8,
“message”: “expected ‘)’ before ‘PrevMillis'”,
“startLineNumber”: 123,
“startColumn”: 81,
“endLineNumber”: 123,
“endColumn”: 81
}]
[{
“resource”: “/c:/Users/HP/Documents/PlatformIO/Projects/Monday_test/src/main.cpp”,
“owner”: “C/C++”,
“code”: “18”,
“severity”: 8,
“message”: “expected a ‘)'”,
“source”: “C/C++”,
“startLineNumber”: 124,
“startColumn”: 1,
“endLineNumber”: 124,
“endColumn”: 11
}]
[{
“resource”: “/c:/Users/HP/Documents/PlatformIO/Projects/Monday_test/src/main.cpp”,
“owner”: “cpp”,
“severity”: 8,
“message”: “expected ‘)’ before ‘}’ token”,
“startLineNumber”: 134,
“startColumn”: 3,
“endLineNumber”: 134,
“endColumn”: 3
}]
[{
“resource”: “/c:/Users/HP/Documents/PlatformIO/Projects/Monday_test/src/main.cpp”,
“owner”: “cpp”,
“severity”: 8,
“message”: “expected primary-expression before ‘}'”,
“startLineNumber”: 135,
“startColumn”: 1,
“endLineNumber”: 135,
“endColumn”: 1
}]
 

Question Tags: Firebase esp iot
7 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 months ago

Hi.
How are you copying the code? Please don’t copy from the PDF because it can mess up with formatting causing unexpected errors.
Copy the code using the links provided at the beginning of the unit.
What is the line of code that is causing the error?
Regards,
Sara
 

0 Vote Up Vote Down
Larry answered 3 months ago

Yes I should have realized that, thought about that the next day because I was working on it late. I will go over it again and use the links provided. Thanks

 

So , now that I have used the file from the resources, my issues have been resolved. Only one now is in Platform IO monitor is stuck on getting UID , reset the switch a few times, my User info is correct and I checked my internet connection and information and it is also correct.

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

Hi.
So, is everything working as expected now or are you still having issues? I didn’t understand…
Regards,
Sara

0 Vote Up Vote Down
Larry answered 3 months ago

I am sure it’s something I am missing, I am new to VS code platform IO so I really need to work on this more before I ask for any further help, thanks for your support.

0 Vote Up Vote Down
Larry answered 3 months ago

I am sure it’s something I am missing, I am new to VS code platform IO so I really need to work on this more before I ask for any further help, thanks for your support.

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

Ok.
Meanwhile, 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

0 Vote Up Vote Down
Larry answered 3 months ago

Thanks 

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.