deplacement v6
Fork of Deplacement by
Deplacement.h
- Committer:
- aure
- Date:
- 2017-02-02
- Revision:
- 4:bd8b50f91f81
- Parent:
- 3:965871a8c5ff
- Child:
- 5:327f0df4ba8e
File content as of revision 4:bd8b50f91f81:
#include "m3pi/m3pi.h" #include "mbed.h" class Deplacement { protected: int posx; int posy; float vitesse; m3pi m3pi; private: Timer t; int mseconds; public: Deplacement();//constructeur; ~Deplacement(); /////////// void setVitesse(float v); void tourner_droite(); //implementer temps rotation void tourner_gauche(); //implementer temps rotation void avancer(); void reculer(); void stop(); float getVitesse(); int getPosX(); int getPosY(); void RAZ(); };