Les bros de la fst / Mbed 2 deprecated TP5P1

Dependencies:   mbed C12832

Files at this revision

API Documentation at this revision

Comitter:
Bleiz038
Date:
Tue Dec 18 19:14:55 2018 +0000
Commit message:
dd

Changed in this revision

C12832.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 6290877545ae C12832.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/C12832.lib	Tue Dec 18 19:14:55 2018 +0000
@@ -0,0 +1,1 @@
+http://os.mbed.com/users/chris/code/C12832/#7de323fa46fe
diff -r 000000000000 -r 6290877545ae main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Dec 18 19:14:55 2018 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+#include "C12832.h"
+
+DigitalOut Lampe(p18);
+AnalogIn Capteur(p17);
+float temp = 0;
+float gettemp = 0;
+C12832 lcd(p5, p7, p6, p8, p11);
+
+int main() {
+    Lampe = 1;
+    while(1) {
+        gettemp =Capteur;
+        temp = gettemp*330;
+        lcd.cls();
+    lcd.locate(0,0);
+    lcd.printf("Temperature : %6.3f",temp);
+    wait(0.5);
+    }
+}
diff -r 000000000000 -r 6290877545ae mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Dec 18 19:14:55 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/3a7713b1edbc
\ No newline at end of file