From 08e63e69ca282f94cb7ef4dfe0a44f3a2e35d6d1 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Mon, 27 Jan 2020 12:56:47 +0100 Subject: [PATCH] api/builtins/DCMotor: drop settings These settings are control properties, so they cannot be altered on DC Motors. --- doc/api/iodevices_ev3.inc | 3 --- pybricks/builtins.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/api/iodevices_ev3.inc b/doc/api/iodevices_ev3.inc index 8f9e553..27a7fbe 100644 --- a/doc/api/iodevices_ev3.inc +++ b/doc/api/iodevices_ev3.inc @@ -72,9 +72,6 @@ DC Motor .. automethod:: pybricks.builtins.DCMotor.dc :noindex: - .. automethod:: pybricks.builtins.DCMotor.set_dc_settings - :noindex: - Other ev3dev sensors ^^^^^^^^^^^^^^^^^^^^^ diff --git a/pybricks/builtins.py b/pybricks/builtins.py index fce3351..a69c07c 100644 --- a/pybricks/builtins.py +++ b/pybricks/builtins.py @@ -43,7 +43,7 @@ class DCMotor(): This is useful to avoid applying the full motor torque to a geared or lever mechanism, or to prevent - your LEGO® train from + your motor from unintentionally going at full speed. (*Default*: 100). duty_offset (:ref:`percentage`): Minimum duty cycle given when you