In file included from C:\Desktop\Smart_Gas_Detector\Smart_Gas_Detector.ino:18:0:
BlynkEdgent.h:3:12: fatal error: user_interface.h: No such file or directory #include “user_interface.h”
^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
user_interface.h: No such file or directory
Okay, that’s your problem.
You need to install the ESP8266 core, which will give you various ESP8266 based boards, including several NodeMCU versions, and it’s one of those that you need to choose.
To install the ESP8266 core you need to follow these instructions…
@johnweak please edit your last post (using the pencil icon at the bottom) and remove your screenshot then replace it with the text from your compiler error - copy and paste the text, dont screenshot it.
When you post the text put triple backticks at the beginning and end of the compiler error message so that it displays correctly.
Triple backticks look like this:
```
Copy and paste these if you can’t find the correct symbol on your keyboard.
This error indicates that your computer can’t talk to your ESP8266 to be able to upload the code, or possibly that the ESP8266 isn’t in the correct state to accept the code.
Things to try…
Ensure that you’ve selected the correct serial port
Ensure that you’re using a USB cable that has both power and data cables (some just provide power)
Avoid opening the serial monitor while the code upload is trying to execute
Try the upload again
Try rebooting your computer then uploading again
Remove all connections to your board (except the USB cable) then try uploading again