- Mon Mar 30, 2015 7:10 pm
This isn't a small task, so I can't give you any ETA on this.
I've created an issue to track the progress: https://github.com/esp8266/Arduino/issues/18
The APIs actually consist of:
- the basic Arduino functions and classes (described here
- ports of standard Arduino libraries (Wire, EEPROM)
- esp8266-specific libraries: ESP8266WiFi, which is very similar to the WiFi Shield library
, ESP8266mDNS (no doc, but see example included), ESP8266WebServer (no doc, but see one example included and another one here on the forum), Ticker (no doc, see examples included).
Things like deep sleep, chip id, heap size, etc., don't have Arduino-like APIs yet. You can use all the APIs provided by Espressif in their SDK, just be sure to include corresponding header file (most of the time, you need "user_interface.h").
Espressif has the SDK documentation on their BBS
As you can see things are very scattered at the moment, so if you get a moment to compile some information into a single reference guide, that would certainly be great. I will get to it, but for now adding things like SPI, PWM, and uploads over WiFi has higher priority.