mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
api/nxtdevices: update sound audible argument
rename to audible_only for a more precise description.
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user