Hi I am a bit new to this but haven't been able to get my project running for months and it is a bit frustrating. Any help is welcome!!!.
I am using Arduino 1.8.9 and have a sketch for temperature measurement device using DS18B20 and ESP8266 NodeMCU. The problem I am having is when compiling I get a message No such file or directory.
I have the file EIoTCloudRestApiV1.0.h in the Arduino library folder but get and error message saying no such file or directory, when as far as I can see it is there in the directory. Here is the copy of the error message, any help???...
warpy:
I have the file EIoTCloudRestApiV1.0.h in the Arduino library folder
Please explain exactly what you mean by that. What do you mean by "the Arduino library folder"? Is it directly inside that folder, or in a subfolder of it?
The file must be in a specific place. You can't just dump it right into the libraries folder. Usually (but not always) a .h file will be accompanied by other files in a library. You can't just go and grab the .h file. You need to install the entire library.
Hi Brattain, Thanks for your assistance. This is the URL for the temp sensor that I wish to follow. ESP8266 WiFi DS18B20 temperature sensor (EasyIoT Cloud REST API V1) and Email alarm. It asks me to download EIoTCloudRestApiV1.0 library and add it to my library folder in Arduino IDE. I can see the file I need in Github and none appear to have a zip that I can install with library manager so I am not sure how to go about adding it to my Arduino IDE library. Look forward to hearing from you. I am a newbie and keen to get this sorted.
I have no clue what you did in your attempt to install the library, but that was a complete and utter fail. Please delete it to prevent future confusion.
Unfortunately, "IOT-PLAYGROUND.COM" did not structure that repository in a way that makes it easy for the users to install the libraries. That is quite disrespectful to their customers if you ask me. If they don't understand this incredibly basic aspect of using Arduino, what confidence can we have in their competence to provide a cloud IoT service?
Nevertheless, we can still install the library with a little bit of extra complication:
(In the Arduino IDE) Sketch > Include Library > Add .ZIP Library
Select the EIoTCloudRestApiV1.0 subfolder of the unzipped folder.
Click "Open".
You will now have the library correctly installed. It's not obvious from the menu name, but "Add .ZIP Library" can be used to install libraries from folders in addition to .zip files.