Skip to content

Commit 80f7685

Browse files
committed
Updated
1 parent cf68e15 commit 80f7685

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Motor MyMotor(uint8_t enablePin,uint8_t input1,uint8_t input2);
2222
2323
```c++
2424
#include <Arduino.h>
25-
#include <l298n.h>
25+
#include <Motor.h>
2626
// The params have been discussed above
2727
Motor rightMotor(19,14,5);
2828
Motor leftMotor(12,13,16);
@@ -32,11 +32,11 @@ Motor leftMotor(12,13,16);
3232

3333
```c++
3434
#include <Arduino.h>
35-
#include <l298n.h>
35+
#include <Motor.h>
3636

3737
// Create Object
38-
L298N rightMotor(19,14,5);
39-
L298N leftMotor(12,13,16);
38+
Motor rightMotor(19,14,5);
39+
Motor leftMotor(12,13,16);
4040

4141
void setup() {
4242
// Setup is not required.

0 commit comments

Comments
 (0)