Example for a Magnevation Board used previously on a OOPICII

Fork of Motordriver by Christopher Hasler

Files at this revision

API Documentation at this revision

Comitter:
littlexc
Date:
Thu Nov 25 13:34:15 2010 +0000
Parent:
4:5fb1296c0d60
Child:
6:81b393c33b77
Commit message:
set the stop function to coast if not able to dynamicaly brake.

Changed in this revision

motordriver.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/motordriver.cpp	Thu Nov 25 13:31:22 2010 +0000
+++ b/motordriver.cpp	Thu Nov 25 13:34:15 2010 +0000
@@ -103,6 +103,7 @@
         sign = 0;
         return duty;
     } else
+        Motor::coast();
         return -1;
 }