Skip to content

Commit

Permalink
fix old driver name in open loop example
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Unger committed Oct 30, 2023
1 parent 9f2cda0 commit 6084b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/dc-open-loop/dc-open-loop.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6084b5e

Please sign in to comment.