From 6084b5e0179ded7fafa8a39ceadf2ebc76989c36 Mon Sep 17 00:00:00 2001 From: Richard Unger Date: Mon, 30 Oct 2023 12:52:40 +0100 Subject: [PATCH] fix old driver name in open loop example --- examples/dc-open-loop/dc-open-loop.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dc-open-loop/dc-open-loop.ino b/examples/dc-open-loop/dc-open-loop.ino index 7a51ac9..9e8ab12 100644 --- a/examples/dc-open-loop/dc-open-loop.ino +++ b/examples/dc-open-loop/dc-open-loop.ino @@ -18,7 +18,7 @@ // DCDriver object - this is the only thing needed for open-loop control. // There are different types to choose from, please select the correct one // that matches your motor driver hardware. -DCDriverSpeedDir driver = DCDriverSpeedDir(2, 3); +DCDriver1PWM1Dir driver = DCDriver1PWM1Dir(2, 3); /** * Setup function, in which you should intialize the driver.