Aff lcd sp1

Files at this revision

API Documentation at this revision

Comitter:
schnf30
Date:
Sun Jun 06 12:17:50 2021 +0000
Parent:
0:c2bccd69cfd3
Commit message:
a

Changed in this revision

affichage.cpp Show annotated file Show diff for this revision Revisions of this file
affichage.h Show annotated file Show diff for this revision Revisions of this file
diff -r c2bccd69cfd3 -r 0a8c2d630387 affichage.cpp
--- a/affichage.cpp	Sun May 23 13:26:33 2021 +0000
+++ b/affichage.cpp	Sun Jun 06 12:17:50 2021 +0000
@@ -4,12 +4,14 @@
 
 C12832 lcd(D11, D13, D12, D7, D10);
 
-void AffichageEcran(float mesure,float consigne)
+void AffichageEcran(void)
 {
-        lcd.locate(0,3);
-        lcd.printf("Mesuree %03.1f\n\r",mesure);
-        lcd.locate(0,14);
-        lcd.printf("Cons Angle Inc %03.1f\n\r",consigne);
+        lcd.locate(0,0);
+        lcd.printf("Pression[0] %0.0fPa\n\r",pression[0]);
+        lcd.locate(0,11);
+        lcd.printf("Cons Angle Inc %0.0f\n\r",Aic);
+         lcd.locate(0,22);
+        lcd.printf("Vit flux air %0.0fkm/h\n\r",VitFluxAir);       
     }
     
     
\ No newline at end of file
diff -r c2bccd69cfd3 -r 0a8c2d630387 affichage.h
--- a/affichage.h	Sun May 23 13:26:33 2021 +0000
+++ b/affichage.h	Sun Jun 06 12:17:50 2021 +0000
@@ -1,5 +1,13 @@
 #ifndef _affichage
 #define _affichage
-void AffichageEcran(float mesure,float consigne);
+
+extern float VitFluxAir;
+extern float pression[8];
+extern float Fx;
+extern float Fz;
+extern float Aim;
+extern float Aic;
+
+void AffichageEcran(void);
 
 #endif
\ No newline at end of file