Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By gerardwr
#13125 This sketch shows how functions in the ESP8266 SDK can be called from an Arduino sketch.

The picture below shows output from the sketch.

Schermafbeelding 2015-03-31 om 19.59.21.png


ESP8266SDK2.ino.zip
You do not have the required permissions to view the files attached to this post.
User avatar
By Mikejstb
#13132 I'm getting an error that user_interface.h isn't found.
That file does exist in my ESP-Arduino IDE path under hardware/tools/esp8266/sdk/include so I'm not sure what I'm doing wrong.
I've been able to build and run other projects.
Is there somewhere where I'm supposed to define that path to that file?
User avatar
By Mikejstb
#13134 sorry - my bad
I started the ESP-Arduino with the desktop shortcut I'd made but for some reason it had set back to use an Arduino Yun board instead of the ESP.
I'll be sure to check that every time I start up
User avatar
By AcmeUK
#14087 Hi

Tried this and no joy.

If I look at the boot messages at 74880 baud I get :-
Code: Select all ets Jan  8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 27564, room 16
tail 12
chksum 0x63
ho 0 tail 12 room 4
load 0x00000000, len 0, room 12
tail 0
chksum 0x63
load 0x00000000, len 0, room 4
tail 0
chksum 0x63
csum 0x63
csum err
ets_main.c

I had to put this at the top to get this far:-
Code: Select allvoid* __dso_handle;

Any Ideas?