lcd test

Dependencies:   mbed TextLCD

Files at this revision

API Documentation at this revision

Comitter:
mehrnaz
Date:
Fri May 10 15:08:51 2019 +0000
Commit message:
lcd

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 58c95c1c6b62 TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Fri May 10 15:08:51 2019 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/dreschpe/code/TextLCD/#a7c74d4c6911
diff -r 000000000000 -r 58c95c1c6b62 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri May 10 15:08:51 2019 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+#include "TextLCD.h"
+
+TextLCD lcd(PC_8,PC_7,PC_6,PB_15,PB_14,PB_13,PB_12, TextLCD::LCD16x2);
+
+int main() {
+    lcd.cls();
+    wait(0.001);
+    lcd.printf("Row 1!");
+    lcd.locate(0,1);
+    lcd.printf("Row 2!");
+}
\ No newline at end of file
diff -r 000000000000 -r 58c95c1c6b62 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri May 10 15:08:51 2019 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file