deplacement v6

Fork of Deplacement by Projet robot

Deplacement.h

Committer:
aure
Date:
2017-02-02
Revision:
1:662d3c47637f
Parent:
0:d6b2da5ef6cb
Child:
2:7e0d789e1be8

File content as of revision 1:662d3c47637f:

#include "m3pi/m3pi.h"
#include "mbed.h"

class Deplacement
{
 protected:
 
 int posx;
 int posy;
 float vitesse;
  m3pi m3pi;
 
 
 public:

Deplacement();//constructeur;
~Deplacement();
///////////
 void setVitesse(float v);
 void tourner_droite(); 
 void tourner_gauche();
 void avancer();
 void reculer();
 
float getVitesse();
int getPosX();
int getPosY();

    
};