deplacement v6
Fork of Deplacement by
Deplacement.h
- Committer:
- fab16
- Date:
- 2017-02-09
- Revision:
- 6:ad9dd32c18c7
- Parent:
- 5:327f0df4ba8e
- Child:
- 8:751dfd02c59e
File content as of revision 6:ad9dd32c18c7:
#include "m3pi.h" #include "mbed.h" class Deplacement { protected: int posx; int posy; float vitesse; 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(); void tourner_droite_t(); float getVitesse(); int getPosX(); int getPosY(); void RAZ(); void init(float val); };