flash

ESP8266: flashing the lua firmware and running some code

After you setup your ESP8266 module as described here you can go on and write Arduino code that talks to the ESP8266 or even flash new firmware directly [...]