Mathéo Guichard / Mbed 2 deprecated I2CTextLCD

Dependencies:   mbed

Revision:
1:5c7a96a6003b
Parent:
0:6beb6f498640
diff -r 6beb6f498640 -r 5c7a96a6003b main.cpp
--- a/main.cpp	Mon Aug 09 14:17:02 2010 +0000
+++ b/main.cpp	Wed Jun 05 11:09:14 2019 +0000
@@ -1,8 +1,13 @@
 #include "mbed.h"
 #include "TextLCD.h"
 
-TextLCD lcd(p9, p10);
+TextLCD lcd(D14, D15, 0x7e);
 
-int main() {
-    lcd.printf("Hi mbed World!\n");
+int main()
+{
+    while(1) {
+        lcd.printf("Hi mbed World!\n");
+        wait_ms(50);
+    }
 }
+