3

Files at this revision

API Documentation at this revision

Comitter:
schnf30
Date:
Sun Jun 06 18:09:43 2021 +0000
Commit message:
3

Changed in this revision

affichagesp1.cpp Show annotated file Show diff for this revision Revisions of this file
affichagesp1.h Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 5eab751035d2 affichagesp1.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/affichagesp1.cpp	Sun Jun 06 18:09:43 2021 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "C12832.h"
+#include "affichagesp1.h"
+
+C12832 lcd(D11, D13, D12, D7, D10);
+
+void AffichageEcransp1(void)
+{
+    lcd.locate(0,0);
+    lcd.printf("Vit flux air %0.0fkm/h\n\r",VitFluxAir);
+    lcd.locate(0,11);
+    lcd.printf("Consigne flux Air %0.0fkm/h\n\r",ConsigneFluxAir);
+    lcd.locate(0,22);
+    lcd.printf("Temperature %0.0fC\n\r",Temperature);
+}
diff -r 000000000000 -r 5eab751035d2 affichagesp1.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/affichagesp1.h	Sun Jun 06 18:09:43 2021 +0000
@@ -0,0 +1,11 @@
+#ifndef _affichagesp1_
+#define _affichagesp1_
+extern float VitFluxAir;
+extern float ConsigneFluxAir;
+extern float Freqhelice;
+extern float Temperature;
+extern float humidite;
+
+void AffichageEcransp1(void);
+
+#endif
\ No newline at end of file