Closed scul81 closed 3 years ago
@scul81 Were any other changes made to the code? You might be missing an import. Please link your code if possible.
Certainly.. the code has been copy pasted
@scul81 Please upload your project to github, or copy paste that code here - https://gist.github.com/. This makes it easier to collaborate.
You have the code for the secrets file commented out.
Your code:
//const char* ssid = SECRET_SSID;
//const char* password = SECRET_WIFI_PASSWORD;
const char* ssid = "xxx";
const char* password = "xxx";
Delete the last two lines and uncomment the first two lines.
That might be unrelated but that's the first thing that sticks out to me.
Yes I commented those out because the secrets file doesn't work and I have no other option but to hardcode these strings as per issue #1 - I can upload my code on github
@scul81 Can you confirm that you are targeting the right board in the Tools menu?
as above
The error remains (also after resolving the secrets file problem)
Would you like to see the contents of my library folder or shall I remove all libraries and reinstall the recommend ones? It would be nice if you could give direct links or references to the libraries with version number and author to make sure they match
Hmm try this?
same result unfortunately
Can you check the board version?
Tools >> Board >> Board Manager
It looks like it breaks with the latest version of that package. So this one might work.
It seems to have compiled fine! I will now try and test to see if I can load it to the unit
Yay! I will update the documentation. Sorry for the trouble!
That's OK I believe we can close this issue now
When running the code I receive the following error
I can confirm I have correctly installed the ESP8266 library