Yannick Andreu / Mbed 2 deprecated Robot_Autonome_Proto

Dependencies:   SRF08 mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers commande.h Source File

commande.h

00001 #ifndef DEF_COMMANDE
00002 #define DEF_COMMANDE
00003 
00004 #include <string>
00005 
00006 
00007 class commande
00008 {
00009     public:
00010     //commande();
00011     void avancer(char speed);
00012     void avance(char speed);
00013     void reculer(char speed);
00014     void recu(char speed);
00015     void tourner_droite(char speed);
00016     void tourner_gauche(char speed);
00017     void demi_tour(void);
00018     void stop(void);
00019     
00020     private:
00021     char speed;
00022        
00023 };
00024 
00025 #endif