-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
featureNew featureNew feature
Description
Currently, the Motor class will write 255 to enpin when speed == 0 as most motor controllers will treat in1pin = in2pin as break or coast regardless of enpin. Some motor controllers, however, determine break vs coast based on the value of enpin.
Example Datasheet with such configuration: https://www.teachmemicro.com/download/l298n-datasheet/?wpdmdl=3366&refresh=5e3f81b45b3cc1581220276 (see page 6)
Line 141 in 98b9915
| analogWrite(this->enpin, 255); |
Line 177 in 98b9915
| analogWrite(this->enpin, 0); |
Line 191 in 98b9915
| analogWrite(this->enpin, 0); |
will need to be changed to have configurable values instead of 255 or 0.
Metadata
Metadata
Assignees
Labels
featureNew featureNew feature