From f10cf7fd3121a28ad53b6b3257aa4fd200af7aba Mon Sep 17 00:00:00 2001
From: Malaurie Bernard <mbernard@kinouby>
Date: Thu, 29 Jun 2023 15:31:01 +0200
Subject: [PATCH] Add speed definition to be able to use an emulator

---
 motor.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/motor.h b/motor.h
index d26c081..ae67c08 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>
-- 
GitLab