Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By lilzz
#47425 I looking at ArduinoWifi library folder
there's a file call espduino.cpp. So basically, all it does is sending out AT commands to control the ESP chip. right?

But what about ESP SDK API functions like system APIs

system_get_sdk_version
system_restore
system_restart
system_init_done_cb
system_get_chip_id
system_get_vdd33

Looks like Arduino does not use those SDK API functions, right?


[list=]void ESP::write(uint8_t data)
{
switch(data){
case SLIP_START:
case SLIP_END:
case SLIP_REPL:
_serial->write(SLIP_REPL);
_serial->write(SLIP_ESC(data));
break;
default:
_serial->write(data);
}[/list]
}