affichage v7

Fork of AFFICHAGE by Projet robot

Affichage.cpp

Committer:
fab16
Date:
2017-02-16
Revision:
4:7c1e87f81b55
Parent:
3:97cb6955fab2
Child:
5:6834f15a1e48

File content as of revision 4:7c1e87f81b55:

#include "Affichage.h"



 m3pi m3piA;    
    
    void Affichage::bonjour(){
        m3piA.cls();
        m3piA.print("Bonjour",7);
        wait(1);
    
    
    }
    
    void Affichage::afficheResult(float result){
        m3piA.cls();
        m3piA.printf("%f",result);
        wait(1);
    }
    
    
    // affichage de 8 caractere max
    void Affichage::affichageCourt(char*message){
        m3piA.cls();
        m3piA.print(message,strlen(message));
    }