
 /*
  * http://www.esp8266.com/viewtopic.php?f=29&t=2226
 * 31 mar 2015
 * This sketch displays date and time from a DAYTIME server.
 * Sketch connects to TCP port 13 from a server in DAYTIME format
 * Expected response lie : 57063 15-02-10 10:04:09 00 0 0 537.1 UTC(NIST) * 
*/

/*  Arduino 1.6.5r2
    Sketch uses 236,100 bytes (45%) of program storage space. Maximum is 524,288 bytes.
  Arduino 1.6.1
    Sketch uses 241,932 bytes (46%) of program storage space. Maximum is 524,288 bytes.

    =============================== OLED Connections =============================
    OLED: http://www.aliexpress.com/item/Free-shipping-1Pcs-white-128X64-OLED-LCD-LED-Display-Module-For-Arduino-0-96-I2C-IIC/32234039563.html
    Connections://Wire.pins(int sda, int scl)  Wire.pins(0, 2); //on ESP-01. 
    ==== ESP8266 Pin====    ==== OLED Pin====
            Vcc  1                Vcc  1
            Rxd  2                
            Rst  3                
           GPIO0 4                SDA  4             use 1.8K Ohm pullup
           CH_PD 5                
           CPIO2 6                SCL  3             " ditto "
             Txd 7                
             Gnd 8                Gnd  2
            
       

Expected return on console:
...
WiFi connected
IP address: 192.168.100.71
connecting to 128.138.141.172

57223 15-07-20 13:12:05 50 0 0 542.1 UTC(NIST) * 

closing connection

/*
/*
 *  This sketch demonstrates how to scan WiFi networks. 
 *  The API is almost the same as with the WiFi Shield library, 
 *  the most obvious difference being the different file you need to include:
 *  Comes with Arduino ESP8266 build under examples..
 
 Modified by DanBicks added OLED display to ESP01 using cheap Ebay 0.96" display
 Lightweight Mike-Rankin OLED routines added in this project, Credits to Mike for this.
 http://www.esp8266.com/viewtopic.php?f=29&t=3256
 
*/
