v7

Dependents:   robot_final

Robot.h

Committer:
fab16
Date:
2017-03-16
Revision:
7:fa09588320d0
Parent:
5:152295068384
Child:
9:aff70d8f388a

File content as of revision 7:fa09588320d0:

#include "Affichage.h"
#include "LED.h"
#include "Deplacement.h"
#include "Pattern.h"
#include "SRF05.h"
#include "mbed.h"



class Robot{

    private:

     bool obstacle;
     Affichage affichage;
     LED led;
     Deplacement deplacement;
     Pattern pattern;
     bool tabObstacle[4];
     
     

    public:
    
     Robot();
     ~Robot();
     
     Affichage getAffichage();
     LED getLed();
     Deplacement getDeplacement();
     Pattern getPattern();
     void action(char idAction);
     void utiliserUltrason();
     void afficherObstacle();
     void scanneEnvironement();
     

};