Aff lcd sp1

affichage.cpp

Committer:
schnf30
Date:
6 months ago
Revision:
0:c2bccd69cfd3
Child:
1:7c64db40ac62
Child:
2:0a8c2d630387

File content as of revision 0:c2bccd69cfd3:

#include "mbed.h"
#include "C12832.h"
#include "affichage.h"

C12832 lcd(D11, D13, D12, D7, D10);

void AffichageEcran(float mesure,float consigne)
{
        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);
    }