3
affichagesp1.cpp@0:5eab751035d2, 2021-06-06 (annotated)
- Committer:
- schnf30
- Date:
- Sun Jun 06 18:09:43 2021 +0000
- Revision:
- 0:5eab751035d2
3
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
schnf30 | 0:5eab751035d2 | 1 | #include "mbed.h" |
schnf30 | 0:5eab751035d2 | 2 | #include "C12832.h" |
schnf30 | 0:5eab751035d2 | 3 | #include "affichagesp1.h" |
schnf30 | 0:5eab751035d2 | 4 | |
schnf30 | 0:5eab751035d2 | 5 | C12832 lcd(D11, D13, D12, D7, D10); |
schnf30 | 0:5eab751035d2 | 6 | |
schnf30 | 0:5eab751035d2 | 7 | void AffichageEcransp1(void) |
schnf30 | 0:5eab751035d2 | 8 | { |
schnf30 | 0:5eab751035d2 | 9 | lcd.locate(0,0); |
schnf30 | 0:5eab751035d2 | 10 | lcd.printf("Vit flux air %0.0fkm/h\n\r",VitFluxAir); |
schnf30 | 0:5eab751035d2 | 11 | lcd.locate(0,11); |
schnf30 | 0:5eab751035d2 | 12 | lcd.printf("Consigne flux Air %0.0fkm/h\n\r",ConsigneFluxAir); |
schnf30 | 0:5eab751035d2 | 13 | lcd.locate(0,22); |
schnf30 | 0:5eab751035d2 | 14 | lcd.printf("Temperature %0.0fC\n\r",Temperature); |
schnf30 | 0:5eab751035d2 | 15 | } |