- Wed Apr 29, 2015 1:26 pm
#16039
Ok, this is what I remember....
I took the libraries for "esp8266com" out of the hardware folder in the ESP8266 Arduino IDE download and added those drivers to my own Arduino hardware library.
I then opened up the example "WiFiWebServer" under "ESP8266WiFi" in the Arduino examples menu. That example has the include <ESP8266WiFi.h> and waits for a client connection to send a HTTP URL string with commands "/gpio/0" for off and "/gpio/1" for on. I modified the command structure for my own purposes and added Andrew's WS2812 LED Driver.
I got the ESP8266COM library from the following
https://github.com/esp8266/ArduinoI have been through so many libraries to get the LED working, I don't even remember if I had any trouble with the ESP8266COM library. But it all works now. At one point my ESP8266 had stopped responding all together so I refreshed to the default firmware and started over.
Don't forget to add your SSID and password at the top, otherwise all you will see is ........