3

Files at this revision

API Documentation at this revision

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

Changed in this revision

affichagesp3.cpp Show annotated file Show diff for this revision Revisions of this file
affichagesp3.h Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r cdbaa1dd5e8d affichagesp3.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/affichagesp3.cpp	Sun Jun 06 18:06:00 2021 +0000
@@ -0,0 +1,26 @@
+#include "mbed.h"
+#include "C12832.h"
+#include "affichagesp3.h"
+
+C12832 lcd(D11, D13, D12, D7, D10);
+
+extern float VitFluxAir;
+extern float ConsigneFluxAir;
+extern float Freqhelice;
+extern float Temperature;
+extern float humidite;
+extern float pression[8];
+extern float Fx;
+extern float Fz;
+extern float Aim;
+extern float Aic;
+
+void AffichageEcransp3(void)
+{
+        lcd.locate(0,0);
+        lcd.printf("Pression[0] %0.0fPa",pression[0]);
+        lcd.locate(0,11);
+        lcd.printf("Cons Angle Inc  %0.0f",Aic);
+        lcd.locate(0,22);
+        lcd.printf("Cons Vit Air  %0.0f",ConsigneFluxAir);        
+    }
\ No newline at end of file
diff -r 000000000000 -r cdbaa1dd5e8d affichagesp3.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/affichagesp3.h	Sun Jun 06 18:06:00 2021 +0000
@@ -0,0 +1,15 @@
+#ifndef _affichagesp3_
+#define _affichagesp3_
+
+extern float VitFluxAir;
+extern float ConsigneFluxAir;
+extern float Freqhelice;
+extern float Temperature;
+extern float humidite;
+extern float pression[8];
+extern float Fx;
+extern float Fz;
+extern float Aim;
+void AffichageEcransp3(void);
+
+#endif
\ No newline at end of file