Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By ian
#12847 Excellent work guys! I want to use the ESP8266 in student labs with Arduinos & this might be the ideal route :)
Cheers
Ian
User avatar
By Stevenelson
#12850
igrr wrote:@Stevenelson It's here: https://github.com/esp8266/Arduino/blob/esp8266/hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.h

SWEEET! I just attempted to install it and got an error on #include <functional> in the .h file. I'm trying to dig around to figure out what that was supposed to be. Any idea?

Note that the library is bundled with the version of Arduino IDE which is available for download here:
https://github.com/esp8266/Arduino#downloads


I downloaded the mac version it doesn't appear to be included, is it possible it's only in the Windows version?
User avatar
By gerardwr
#12853
Stevenelson wrote:I downloaded the mac version it doesn't appear to be included, is it possible it's only in the Windows version?


I downloaded the Mac version. The example "HelloServer" using "ESP8266WebServer" compiles OK.