v7

Dependents:   robot_final

Robot.h

Committer:
fab16
Date:
2017-03-15
Revision:
5:152295068384
Parent:
4:c8ae1b606d51
Child:
7:fa09588320d0

File content as of revision 5:152295068384:

#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(int idAction);
     void utiliserUltrason();
     void afficherObstacle();
     void scanneEnvironement();
     

};