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:
- 16:05665faaa489
- Parent:
- 15:3d4543a6c100
- Child:
- 17:aae5361ddddf
--- a/Classes/Deplacement.cpp Mon Jun 03 16:37:37 2019 +0000
+++ b/Classes/Deplacement.cpp Tue Jun 04 08:49:01 2019 +0000
@@ -6,6 +6,11 @@
this->peutBouger = true;
}
+bool Deplacement::getFlag()
+{
+ return this->peutBouger;
+}
+
bool Deplacement::avance(signed short dist)
{
if(this->peutBouger)