FRC_equipe1 / Mbed 2 deprecated FRC_2019

Dependencies:   mbed

Revision:
13:9c62e263f245
Parent:
10:efa507ba2b35
Child:
15:3d4543a6c100
--- a/Classes/Deplacement.cpp	Thu May 23 21:26:08 2019 +0000
+++ b/Classes/Deplacement.cpp	Tue May 28 06:48:54 2019 +0000
@@ -43,4 +43,10 @@
         majFlagDpl(this->peutBouger);
         
     return this->peutBouger;
+}
+
+void Deplacement::stop()
+{
+    SendRawId(ASSERVISSEMENT_STOP);
+    this->peutBouger = true;
 }
\ No newline at end of file