faut que Val répare le truc

Dependencies:   mbed AX12

Files at this revision

API Documentation at this revision

Comitter:
leocle
Date:
Wed Jun 10 14:00:41 2020 +0000
Parent:
18:68a8f70707e6
Commit message:
Rajout de la commande Z

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Jun 10 13:59:03 2020 +0000
+++ b/main.cpp	Wed Jun 10 14:00:41 2020 +0000
@@ -203,6 +203,10 @@
         send_stat();
     } else if (last_read == 'R') {
         send_roues();
+    } else if (last_read == 'Z'){
+        front = 0;
+        lat = 0;
+        rot = 0;
     } else if (last_read == ';') {
         coach.puts("EOL\n");
         /*coach.puts(message_0);