Skip to content

Commit

Permalink
Merge pull request #4 from TomasRoj/misspellings
Browse files Browse the repository at this point in the history
Fixed misspellings an typos
  • Loading branch information
AndreaLombardo authored May 12, 2019
2 parents 880d539 + 7c93c28 commit 7ae4808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ or directly writing the include statement in your code:
#include <L298N.h>
```
## INSTANCE THE MODULE
To drive a motor the first think is to create an istance of the library.
To drive a motor the first think is to create an instance of the library.
```
L298N myMotor(EN, IN1, IN2);
```
Expand All @@ -26,7 +26,7 @@ L298N myMotor(EN, IN1, IN2);
| Method | Params | Description
| :----- | :---------- | :------
|**setSpeed**|unsigned short pwmVal| Used to set the pwm value used to determine the motor speed. Value from 0 to 255.
|**getSpeed**|none| Get the speed previously setted.
|**getSpeed**|none| Get the speed previously set.
|**forward**|none| Run motor in forward direction (may depends by wires).
|**forwardFor**|unsigned long delay| Run motor in forward direction for a time specified by delay.
|**forwardFor**|unsigned long delay, CallBackFunction callback| Run motor in forward direction for a time specified by delay, after moving execute the callback function.
Expand Down

0 comments on commit 7ae4808

Please sign in to comment.