Hey folks i'm new with arduino and i have a compiling problem which is although i got the library ESP8266WiFi.h i got this error can somebody help me out
Please don't post screenshots of text. That is very unhelpful. 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" (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button. In a message here, click the code tags button (</> on the forum toolbar) and then paste the error.
If the text exceeds the forum's 9000 character limit, save it to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link.
The ESP8266WiFi library is written for use when you are directly programming an ESP8266. You can't use it to program the Arduino Uno you have selected from the Tools > Board menu. If you are using an Uno then you won't be able to use the ESP8266WiFi library. There is absolutely no chance of making it work. If you actually are using an ESP8266 board, then you need to select the correct board from the Tools > Board menu.
By the way, you should never install the ESP8266WiFi library by itself. This library comes with the ESP8266 core for Arduino and will be installed at the same time. That makes sure that the version of the ESP8266WiFi library matches the version of the ESP8266 core. There is no point in installing that library by itself and this will possibly cause you a lot of trouble so you should delete the installation. It's also quite difficult to install that library by itself. I'm always amazed that so many beginners manage to figure out how to do that, yet don't realize that what they're going through so much trouble to do is pointless.
Thanks again i'll keep these in my mind i'm new in this arduino thing sorry for inconvinince:)
You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per

