LCD Interfacing with FRDM KL25Z

Dependencies:   mbed TextLCD

Files at this revision

API Documentation at this revision

Comitter:
mrbhatter
Date:
Fri Jun 28 05:46:19 2019 +0000
Commit message:
LCD Print;

Changed in this revision

TextLCD.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r a8a3de67b14b TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Fri Jun 28 05:46:19 2019 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/simon/code/TextLCD/#308d188a2d3a
diff -r 000000000000 -r a8a3de67b14b main.cpp
--- /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
+
+    }
+}
+
diff -r 000000000000 -r a8a3de67b14b mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Jun 28 05:46:19 2019 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/6c34061e7c34
\ No newline at end of file