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
--- /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
--- /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
+
+    }
+}
+
--- /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