how can i solve this missing header file ESP8266WiFi.h ?

Arduino: 1.8.7 (Windows 7), Board: "Arduino/Genuino Uno"

In file included from C:\Users\ASUS\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:33:0,

from C:\Users\ASUS\Desktop\testwifi\testwifi.ino:4:

C:\Users\ASUS\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:26:19: fatal error: queue.h: No such file or directory

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Why are you trying to compile ESP code for a Uno?

it is for my project. im required to use uno for iot base project

(deleted)

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html

Shahrilizwan:
it is for my project. im required to use uno for iot base project

Can you please post HERE a copy of the requirements of your project please!?

Thanks.. Tom.. :slight_smile:

raavi17:
Yes indeed. Well from what I know the ESP8266 PWM works just fine, I used it just this morning :slight_smile: From the official GitHub repository:

analogWrite(pin, value) enables software PWM on the given pin. PWM may be used on pins 0 to 15. Call analogWrite(pin, 0) to disable PWM on the pin. value may be in range from 0 to PWMRANGE, which is currently equal to 1023.

And of course it's supported by a REST.

This rambling mess of words has NOTHING to do with OPs problem.