diff --git a/CHANGELOG.md b/CHANGELOG.md index b5415f1..d308394 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/doc/main/pupdevices/dcmotor.rst b/doc/main/pupdevices/dcmotor.rst index 0046aba..bb85f85 100644 --- a/doc/main/pupdevices/dcmotor.rst +++ b/doc/main/pupdevices/dcmotor.rst @@ -25,6 +25,9 @@ Motors without rotation sensors .. automethod:: pybricks.pupdevices.DCMotor.brake :noindex: + .. automethod:: pybricks.pupdevices.DCMotor.settings + :noindex: + Examples ------------------- diff --git a/src/pybricks/_common.py b/src/pybricks/_common.py index df628a8..6dc0034 100644 --- a/src/pybricks/_common.py +++ b/src/pybricks/_common.py @@ -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: