The 16×2 LCD display is a very basic module commonly used in projects and circuits. The 16×2 translates a display 16 characters per line in 2 such lines. In this LCD each character is displayed in a 5×7 pixel matrix.

Dependencies:   mbed TextLCD

Revision:
0:a056f714557f
Child:
1:df3ee6b36c2b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Jul 08 02:52:20 2014 +0000
@@ -0,0 +1,12 @@
+// Hello World! for the TextLCD
+
+#include "mbed.h"
+#include "TextLCD.h"
+
+TextLCD lcd(PTD1, PTD3, PTD2, PTD0, PTD5, PTA13); // rs, e, d4-d7
+
+int main() {
+    lcd.printf("Hi i'm Freescale\n");
+    lcd.locate(1, 5);
+    lcd.printf(" FRDM-kl25z\n");
+}