I have downloaded Arduino Sketch program and got it to compile and load a simple program in my Olimex ESP8266-DEV board (flashing an LED), which works. I since have tried to setup the WiFi, I grab some simple sample code to bring up the WiFi and it compiles and loads, but will not connect to the WiFi. The code send the status of the progress to the serial port and everything I get to a WiFi command in my code it reboots the ESP8266.
I am using the following library and WiFi commands for reference (not attaching all the test code). #include <WiFi.h>
WiFi.begin(ssid, password);
WiFi.macAddress(mac);
I have tested the ESP8266’s WiFi network up using AT commands prior to trying the Arduino sketch. I am very new to this so I am sure I have missed something simple. Any help would be appreciated.
Is there anything that needs to be done to the low level firmware on The olimex ESP8266-DEV board to make it work with Arduino IDE? I have tried 2 boards with the same result.
I got it working, I de-installed Arduino application on my Windows 7 PC and re-installed it and it works now. I think it had something to do with the Libraries.