diff --git a/motor.h b/motor.h
index d26c081453d464f7d4997c3b7aa2cc37175fd91a..ae67c08dd98644c193cef9eeebaa15fd3fd03008 100644
--- a/motor.h
+++ b/motor.h
@@ -15,6 +15,7 @@ public:
     float maxSpeed () { return 10; }
     float acceleration () { return 5; }
     long distanceToGo () { return 0; }
+    float speed() {return 10;}
 };
 #else
 #include <AccelStepper.h>