LCD Interfacing with FRDM KL25Z

Dependencies:   mbed TextLCD

Revision:
0:a8a3de67b14b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Jun 28 05:46:19 2019 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+#include "TextLCD.h"
+
+//FVP for lcd. rs,en,d4-d7, type of lcd
+TextLCD lcd(PTA1, PTA2, PTD4, PTA12, PTA4, PTA5, TextLCD::LCD16x2); //rs, e, d4-d7
+
+int main()
+{
+
+    while(1) {
+        lcd.printf("Hello");
+        wait(1);
+        lcd.cls();  //clear lcd
+
+    }
+}
+