We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2505216 commit 9e9ea1cCopy full SHA for 9e9ea1c
docs/microbit_micropython_api.rst
@@ -108,6 +108,8 @@ The Microphone is accessed via the `microphone` object::
108
set_threshold(128)
109
# Returns a representation of the sound pressure level in the range 0 to 255.
110
sound_level()
111
+ # Returns a representation of the sound pressure level in decibels (dB).
112
+ sound_level_db()
113
114
Pins
115
----
docs/microphone.rst
@@ -91,6 +91,9 @@ Functions
91
92
:return: A representation of the sound pressure level in the range 0 to 255.
93
94
+.. py:function:: sound_level_db()
95
+
96
+ :return: A representation of the sound pressure level in decibels (dB).
97
98
Example
99
=======
0 commit comments