Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By jimmayhugh
#43015 I've posted some code on my github that uses a Teensy Serial port to setup the ESP8266 as an Access Point. This sets up a webpage at 192.168.4.1 that you can use to set your SSID, password, static IP, static gateway, static subnet, UDP port, and Ethernet IP address. This information is transmitted serially back to the Teensy, which can then be saved to EEPROM. The Teensy can then serially set up the ESP8266 as a station for all subsequent reboots.

I'm using it with my TeensyNet boards as a WiFi setup. Right now I'm using the ESP-01 board, but it should work with just about any of the boards out there. It uses the Arduino IDE.

I've also included Teensy code for a simple test.