From a6e6de28b5e7648f095671e9b38ef682c418532f Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Tue, 14 Jan 2020 21:27:01 +0100 Subject: [PATCH] api/nxtdevices: update sound audible argument rename to audible_only for a more precise description. --- pybricks/nxtdevices.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pybricks/nxtdevices.py b/pybricks/nxtdevices.py index 72d893f..12b8d4e 100644 --- a/pybricks/nxtdevices.py +++ b/pybricks/nxtdevices.py @@ -134,11 +134,11 @@ class SoundSensor(): """ pass - def intensity(self, audible=True): + def intensity(self, audible_only=True): """Measure the ambient sound intensity (loudness). Arguments: - audible (bool): Detect only audible sounds. This tries to + audible_only (bool): Detect only audible sounds. This tries to filter out frequencies that cannot be heard by the human ear. (*Default*: True).