-->
Page 1 of 1

ESP-specific APIs - ESP object

PostPosted: Wed May 13, 2015 6:54 pm
by adrianrb
Hi all.

In Readme.md we can read:

"ESP-specific APIs
APIs related to deep sleep and watchdog timer are available in the ESP object."

But how can I use the "ESP object"?
I wanna use ESP.reset() and ESP.getFreeHeap() methods...

Example .ino file is welcome...

Downloaded ESP Arduino IDE from here: https://github.com/igrr/Arduino/release ... indows.zip

Adrian

Re: ESP-specific APIs - ESP object

PostPosted: Fri May 15, 2015 12:06 am
by Jasper np
I would also like to know the answer to this question as I found these methods() were not able to be called on my ESP object.

I specifically wanted to use the reset() function however I ended up using the standard arduino software reset function instead.

Re: ESP-specific APIs - ESP object

PostPosted: Sat May 16, 2015 9:39 am
by Stevenelson
According to Ivan, the ESP object isn't in the latest release version, but apparently it is in the source code on github. Apparently it will be included in the next release.