v7
Robot.h
- Committer:
- aure
- Date:
- 2017-03-23
- Revision:
- 10:d88127a08e44
- Parent:
- 9:aff70d8f388a
File content as of revision 10:d88127a08e44:
#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,char vitesse); void utiliserUltrason(); void afficherObstacle(); void scanneEnvironement(); };