v7

Dependents:   robot_final

Robot.h

Committer:
fab16
Date:
2017-03-23
Revision:
9:aff70d8f388a
Parent:
7:fa09588320d0
Child:
10:d88127a08e44

File content as of revision 9:aff70d8f388a:

#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, char mode);
     void utiliserUltrason();
     void afficherObstacle();
     void scanneEnvironement();
     

};