@@ -151,8 +151,11 @@ def active_input(self):
151
151
"""The currently selected input. Must be an ``Input``
152
152
153
153
This example sets A1 and A2 to the active input pair.
154
+
154
155
.. code-block:: python
155
- bd3491fs.active_input = adafruit_bd3491fs.Input.A
156
+
157
+ bd3491fs.active_input = adafruit_bd3491fs.Input.A
158
+
156
159
"""
157
160
return self ._current_active_input
158
161
@@ -163,10 +166,14 @@ def active_input(self, value):
163
166
164
167
@property
165
168
def input_gain (self ):
166
- """The gain applied to all inputs equally"
169
+ """The gain applied to all inputs equally
170
+
167
171
This example sets the input gain to 10dB.
172
+
168
173
.. code-block:: python
169
- bd3491fs.input_gain = adafruit_bd3491fs.Level.10_DB""
174
+
175
+ bd3491fs.input_gain = adafruit_bd3491fs.Level.10_DB
176
+
170
177
"""
171
178
return self ._current_input_gain
172
179
@@ -181,10 +188,14 @@ def input_gain(self, value):
181
188
@property
182
189
def channel_1_attenuation (self ):
183
190
"""The attenuation applied to channel 1 of the currently selected input pair in -dB.
184
- Maximum is -87dB. To mute set to 255
191
+ Maximum is -87dB. To mute set to 255.
192
+
185
193
This example sets the attenuation for input channel 1 to -10dB.
194
+
186
195
.. code-block:: python
187
- bd3491fs.channel_1_attenuation = 10""
196
+
197
+ bd3491fs.channel_1_attenuation = 10
198
+
188
199
"""
189
200
return self ._current_ch1_attenuation
190
201
@@ -198,10 +209,14 @@ def channel_1_attenuation(self, value):
198
209
@property
199
210
def channel_2_attenuation (self ):
200
211
"""The attenuation applied to channel 2 of the currently selected input pair in -dB.
201
- Maximum is -87dB. To mute set to 255
212
+ Maximum is -87dB. To mute set to 255.
213
+
202
214
This example sets the attenuation for input channel 2 to -10dB.
215
+
203
216
.. code-block:: python
204
- bd3491fs.channel_2_attenuation = 10""
217
+
218
+ bd3491fs.channel_2_attenuation = 10
219
+
205
220
"""
206
221
return self ._current_ch2_attenuation
207
222
0 commit comments