affichage v7

Fork of AFFICHAGE by Projet robot

Affichage.cpp

Committer:
fab16
Date:
2017-02-09
Revision:
3:97cb6955fab2
Parent:
2:9a0f0587d296
Child:
4:7c1e87f81b55

File content as of revision 3:97cb6955fab2:

#include "Affichage.h"    

 m3pi m3piA;
  
    void Affichage::presenter(){
        m3piA.cls();
        char * message = "Je suis George";
    }
    
    
    void Affichage::bonjour(){
        m3piA.cls();
        m3piA.print("Bonjour",7);
        wait(1);
    
    
    }
    
    
    void Affichage::setNom(char * name){
        int tailleMessage = strlen(name) + 9;
        char * nom = strcat("Enchante",name);
        m3piA.print(nom,tailleMessage);
     
    }