Test codeur

Dependencies:   C12832-font

Files at this revision

API Documentation at this revision

Comitter:
gr91
Date:
Mon Nov 02 17:46:56 2020 +0000
Parent:
0:884e80b11524
Commit message:
Test codeur

Changed in this revision

C12832-font.lib Show annotated file Show diff for this revision Revisions of this file
C12832.lib Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
mbed_app.json Show annotated file Show diff for this revision Revisions of this file
diff -r 884e80b11524 -r daa3db81f19c C12832-font.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/C12832-font.lib	Mon Nov 02 17:46:56 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/SNE-S1S2-prime/code/C12832-font/#b0a871f340ed
diff -r 884e80b11524 -r daa3db81f19c C12832.lib
--- a/C12832.lib	Mon Nov 02 13:23:42 2020 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://mbed.org/users/chris/code/C12832/#7de323fa46fe
diff -r 884e80b11524 -r daa3db81f19c main.cpp
--- a/main.cpp	Mon Nov 02 13:23:42 2020 +0000
+++ b/main.cpp	Mon Nov 02 17:46:56 2020 +0000
@@ -15,6 +15,7 @@
 
 #include "mbed.h"
 #include "C12832.h"
+#include "Fonts/Arial12x12.h"
 
 // Using Arduino pin notation
 C12832 lcd(D11, D13, D12, D7, D10);
@@ -55,6 +56,7 @@
 int main()
 {
     lcd.cls();          // Clear screen
+    lcd.set_font((unsigned char*)Arial12x12);  
     lcd.locate(0,3);    // 1ere ligne
     lcd.printf("Essai du module codeur");
     lcd.locate(0,15);   // 2nde ligne
diff -r 884e80b11524 -r daa3db81f19c mbed-os.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os.lib	Mon Nov 02 17:46:56 2020 +0000
@@ -0,0 +1,1 @@
+https://github.com/armmbed/mbed-os/#cf4f12a123c05fcae83fc56d76442015cb8a39e9
diff -r 884e80b11524 -r daa3db81f19c mbed.bld
--- a/mbed.bld	Mon Nov 02 13:23:42 2020 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file
diff -r 884e80b11524 -r daa3db81f19c mbed_app.json
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed_app.json	Mon Nov 02 17:46:56 2020 +0000
@@ -0,0 +1,3 @@
+{
+    "requires": ["bare-metal"]
+}
\ No newline at end of file