jocelyn houpert / Mbed 2 deprecated INfotp2

Dependencies:   mbed TextLCD

Files at this revision

API Documentation at this revision

Comitter:
j0j0
Date:
Fri Mar 12 13:20:11 2021 +0000
Commit message:
EX1

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 c0add86c31bf TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Fri Mar 12 13:20:11 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/simon/code/TextLCD/#308d188a2d3a
diff -r 000000000000 -r c0add86c31bf main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Mar 12 13:20:11 2021 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+#include "TextLCD.h"
+TextLCD MonLCD(p19,p20,p21,p22,p23,p24); //broches associées à ... //rs,e,d4,d5,d6,d7
+
+int main()
+{
+    MonLCD.cls(); // efface l’écran
+    MonLCD.locate(0,0); // déplace le curseur ligne 1, 1ème caractère
+    MonLCD.printf("Hello"); 
+    MonLCD.locate(0,1); // déplace le curseur ligne 2, 1ème caractère
+    MonLCD.printf("World!"); 
+}
\ No newline at end of file
diff -r 000000000000 -r c0add86c31bf mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Mar 12 13:20:11 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file