This commit is contained in:
AlexGyver
2026-06-30 11:35:12 +03:00
parent 9bfa5d429a
commit 2997279418
4 changed files with 24 additions and 13 deletions
+2
View File
@@ -129,6 +129,8 @@ int16_t getTarget();
bool tick();
```
`res` sets the value range used by the library, but does not configure the hardware resolution of `analogWrite`. Configure it separately with the platform API. Standard Arduino AVR uses 8-bit `analogWrite`, so keep `res = 8`.
### Description of the fit
#### Launch and stop
- `runSpeed`starts the motor at the specified speed, maintains negative values for rotation in the opposite direction. meaning`0`switch off