Read the forum guidelines to see how to properly post code and useful hints on how to get the best from the forum. Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
If there are errors, please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.
sketch_oct19a:2:10: fatal error: ESP8266WiFi.h: No such file or directory #include <ESP8266WiFi.h>
^~~~~~~
compilation terminated.
exit status 1
ESP8266WiFi.h: No such file or directory
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences
Hi @ibtizam. I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
When you encounter an error, you'll see a button on the right side of the orange bar in the Arduino IDE: Copy error messages. Click that button.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V. This will paste the compilation output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
is not clearly relatable to one of the questions. Anyway:
You are welcome on this forum! You are working on an informatic project and what is most needed in an informatic project is information imagine: do the other users here in the forum have a clear picture of what you are trying to do?
To speed up finishing your project you should invest some time into writing additional information I'm 100% sure that this WILL speed up finishing your project.
So please go through this checklist and if you find an item you haven't posted yet post it
did you write which exact type of microcontroller you are using?
description of your programming skills and knowledge
description of your knowledge about electronics
description of the functionality you want to have written in normal works avoiding programming terms
do you have an oscilloscope? Yes / No
do you have a digital multimeter (DMM) Yes / No)
your age
did you post your complete sketch?
if relevant did you post a link to a datasheet of each component you are using?
if relevant did you post a handdrawn schematic or your wiring?
if you got a compiler-error. Did you post the complete compiler-output into a code-section?
If you don't post all this information because you want a "quick answer" to your detail problem It is very likely to turn out that all that happens is having mutliple waiting-times with mutliple asking back for details until the other users do have a clear picture of what you want to do.