Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Classes/Deplacement.cpp
- Revision:
- 13:9c62e263f245
- Parent:
- 10:efa507ba2b35
- Child:
- 15:3d4543a6c100
diff -r efa507ba2b35 -r 9c62e263f245 Classes/Deplacement.cpp
--- 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