to check out local tool chain for debugging purpose

Dependencies:   TextLCD

Revision:
3:477981be79da
Parent:
2:67fa41d8cb21
--- a/main.cpp	Sun Nov 27 15:56:04 2016 +0000
+++ b/main.cpp	Sat Dec 17 10:15:51 2016 +0000
@@ -1,22 +1,26 @@
 #include "mbed.h"
 #include "ESP8266Interface.h"
+#include "TextLCD.h"
+
 DigitalOut myled(LED1);
 DigitalIn switchInput(PTB16);
-
 ESP8266Interface esp(D1, D0);
-
+I2C i2c_lcd(A4,A5); // SDA, SCL
 Serial output(USBTX, USBRX);
 
+TextLCD_I2C lcd(&i2c_lcd, 0x7E, TextLCD::LCD16x2); // I2C bus, PCF8574 Slaveaddress, LCD Type ok
 
 int esp8266_init(void);
 
 int main() 
 {
     
-    esp8266_init();
+    //esp8266_init();
+    
+    lcd.printf("Teh Kian Keong\n"); 
     while(1) 
     {
-   
+   		
            
     }
 }