deplacement v6
Fork of Deplacement by
Deplacement.h
- Committer:
- aure
- Date:
- 2017-03-23
- Revision:
- 12:5459169b6a52
- Parent:
- 11:5bc41c46cf28
File content as of revision 12:5459169b6a52:
#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 gauche(float temps); void droite(float temps); void avancer(float temps); void reculer(float temps); void stop(); void tourner_droite_t(); void quartRotation(); float getVitesse(); int getPosX(); int getPosY(); void RAZ(); void init(float val); };