mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
pybricks.pupdevices.DCMotor: Document settings method.
Also update changelog for recent changes.
This commit is contained in:
@@ -4,8 +4,16 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
- Added maximum voltage setter for `DCMotor` and `Motor`.
|
||||
|
||||
### Changed
|
||||
- Removed `duty` setting from `Control.limits` method.
|
||||
- Removed `integral_range` setting from `Control.pid` method.
|
||||
|
||||
### Fixed
|
||||
- Fixed link to Color Light Matrix page.
|
||||
- Fixed link to Inventor Hub page.
|
||||
|
||||
## 3.1.0rc1 - 2021-11-19
|
||||
|
||||
|
||||
@@ -25,6 +25,9 @@ Motors without rotation sensors
|
||||
.. automethod:: pybricks.pupdevices.DCMotor.brake
|
||||
:noindex:
|
||||
|
||||
.. automethod:: pybricks.pupdevices.DCMotor.settings
|
||||
:noindex:
|
||||
|
||||
Examples
|
||||
-------------------
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ class DCMotor:
|
||||
pass
|
||||
|
||||
def settings(self, max_voltage):
|
||||
"""Configures (electrical) motor settings. If no arguments are given,
|
||||
"""Configures motor settings. If no arguments are given,
|
||||
this returns the current values.
|
||||
|
||||
Arguments:
|
||||
|
||||
Reference in New Issue
Block a user