3
Revision 0:1c7d356662fa, committed 2021-06-06
- Comitter:
- schnf30
- Date:
- Sun Jun 06 18:07:34 2021 +0000
- Commit message:
- 3
Changed in this revision
affichagesp2.cpp | Show annotated file Show diff for this revision Revisions of this file |
affichagesp2.h | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/affichagesp2.cpp Sun Jun 06 18:07:34 2021 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +#include "C12832.h" +#include "affichagesp2.h" + +C12832 lcd(D11, D13, D12, D7, D10); + +void AffichageEcransp2(void) +{ + 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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/affichagesp2.h Sun Jun 06 18:07:34 2021 +0000 @@ -0,0 +1,13 @@ +#ifndef _affichagesp2_ +#define _affichagesp2_ + +extern float VitFluxAir; +extern float pression[8]; +extern float Fx; +extern float Fz; +extern float Aim; +extern float Aic; + +void AffichageEcransp2(void); + +#endif \ No newline at end of file