@@ -58,7 +58,7 @@ class MATRIX(object):
58
58
See Trellis product guide for using different/multiple I2C addresses.
59
59
https://learn.adafruit.com/adafruit-trellis-diy-open-source-led-keypad
60
60
61
- :param ~trellis.TRELLIS object: A list of `trellis.TRELLIS` objects to
61
+ :param ~trellis.TRELLIS object: A list of `` trellis.TRELLIS` ` objects to
62
62
use in the matrix. Each object needs its
63
63
own I2C address.
64
64
@@ -131,10 +131,10 @@ def blink_rate(self, rate, *matrices):
131
131
Set the blink rate.
132
132
133
133
:param int brightness: Range 0-3.
134
- :param ~trellis.TRELLIS object(s): list of `trellis.TRELLIS` objects
134
+ :param ~trellis.TRELLIS object(s): list of `` trellis.TRELLIS` ` objects
135
135
you wish to change the blink rate
136
136
of. Only required if you don't want
137
- to update ALL `trellis_set.MATRIX`
137
+ to update ALL `` trellis_set.MATRIX` `
138
138
objects.
139
139
140
140
"""
@@ -150,7 +150,7 @@ def brightness(self, brightness, *matrices):
150
150
Set the brightness.
151
151
152
152
:param int brightness: Range 0-15.
153
- :param ~trellis.TRELLIS object(s): list of `trellis.TRELLIS` objects
153
+ :param ~trellis.TRELLIS object(s): list of `` trellis.TRELLIS` ` objects
154
154
you wish to change the brightness
155
155
of. Only required if you don't want
156
156
to update ALL `trellis_set.MATRIX`
@@ -167,7 +167,7 @@ def show(self, *matrices):
167
167
"""
168
168
Refresh the matrix and show the changes.
169
169
170
- :param ~trellis.TRELLIS matrices: List of `trellis.TRELLIS` objects
170
+ :param ~trellis.TRELLIS matrices: List of `` trellis.TRELLIS` ` objects
171
171
you wish refresh.
172
172
Only required if you want to turn
173
173
on an LED on a specific Trellis
@@ -183,16 +183,16 @@ def show(self, *matrices):
183
183
def led_on (self , x , * matrices ):
184
184
"""
185
185
Turn on the specified LED in the display buffer. Must call
186
- `[ trellis] .show()` afterwards to update the matrix.
186
+ `` trellis.show()` ` afterwards to update the matrix.
187
187
188
188
:param int x: Number of LED you wish to turn on. When not including
189
- specific `trellis.TRELLIS` objects (`*matrices` param),
190
- the range of `x ` is 0 to the maximum number of LEDs you
191
- have (4 Trellis boards: 0-63). When using `*matrices`,
192
- the range of `x ` is 0-15 for the LED on each Trellis.
189
+ specific `` trellis.TRELLIS`` objects (`` *matrices` ` param),
190
+ the range of ``x` ` is 0 to the maximum number of LEDs you
191
+ have (4 Trellis boards: 0-63). When using `` *matrices` `,
192
+ the range of ``x` ` is 0-15 for the LED on each Trellis.
193
193
194
- :param ~trellis.TRELLIS matrices: List of `trellis.TRELLIS` objects
195
- you wish to turn on the LED `x `.
194
+ :param ~trellis.TRELLIS matrices: List of `` trellis.TRELLIS` ` objects
195
+ you wish to turn on the LED ``x` `.
196
196
Only required if you want to turn
197
197
on an LED on a specific Trellis
198
198
board.
@@ -211,16 +211,16 @@ def led_on(self, x, *matrices):
211
211
def led_off (self , x , * matrices ):
212
212
"""
213
213
Turn off the specified LED in the display buffer. Must call
214
- `[ trellis] .show()` afterwards to update the matrix.
214
+ `` trellis.show()` ` afterwards to update the matrix.
215
215
216
216
:param int x: Number of LED you wish to turn off. When not including
217
- specific `trellis.TRELLIS` objects (`*matrices` param),
218
- the range of `x ` is 0 to the maximum number of LEDs you
219
- have (4 Trellis boards: 0-63). When using `*matrices`,
220
- the range of `x ` is 0-15 for the LED on each Trellis.
217
+ specific `` trellis.TRELLIS`` objects (`` *matrices` ` param),
218
+ the range of ``x` ` is 0 to the maximum number of LEDs you
219
+ have (4 Trellis boards: 0-63). When using `` *matrices` `,
220
+ the range of ``x` ` is 0-15 for the LED on each Trellis.
221
221
222
- :param ~trellis.TRELLIS matrices: List of `trellis.TRELLIS` objects
223
- you wish to turn off the LED `x `.
222
+ :param ~trellis.TRELLIS matrices: List of `` trellis.TRELLIS` ` objects
223
+ you wish to turn off the LED ``x` `.
224
224
Only required if you want to turn
225
225
off an LED on a specific Trellis
226
226
board.
@@ -241,13 +241,13 @@ def led_status(self, x, *matrices):
241
241
Gives the current status of an LED: True == ON, False == OFF
242
242
243
243
:param int x: Number of LED you wish to check. When not including
244
- specific `trellis.TRELLIS` objects (`*matrices` param),
245
- the range of `x ` is 0 to the maximum number of LEDs you
246
- have (4 Trellis boards: 0-63). When using `*matrices`,
247
- the range of `x ` is 0-15 for the LED on each Trellis.
244
+ specific `` trellis.TRELLIS`` objects (`` *matrices` ` param),
245
+ the range of ``x` ` is 0 to the maximum number of LEDs you
246
+ have (4 Trellis boards: 0-63). When using `` *matrices` `,
247
+ the range of ``x` ` is 0-15 for the LED on each Trellis.
248
248
249
- :param ~trellis.TRELLIS matrices: List of `trellis.TRELLIS` objects
250
- you wish to check the LED `x `.
249
+ :param ~trellis.TRELLIS matrices: List of `` trellis.TRELLIS` ` objects
250
+ you wish to check the LED ``x` `.
251
251
Only required if you want to check
252
252
an LED on a specific Trellis board.
253
253
"""
@@ -268,7 +268,7 @@ def fill(self, color, *matrices):
268
268
269
269
:param int color: 0 == OFF, > 0 == ON
270
270
271
- :param ~trellis.TRELLIS matrices: List of `trellis.TRELLIS` objects
271
+ :param ~trellis.TRELLIS matrices: List of `` trellis.TRELLIS` ` objects
272
272
you wish to fill with the given color.
273
273
Only required if you want to fill
274
274
the color on a specific Trellis board.
@@ -284,7 +284,7 @@ def read_buttons(self, *matrices):
284
284
"""
285
285
Read the button matrix register on the Trellis.
286
286
287
- :param ~trellis.TRELLIS matrices: List of `trellis.TRELLIS` object(s)
287
+ :param ~trellis.TRELLIS matrices: List of `` trellis.TRELLIS` ` object(s)
288
288
you wish to read the button matrix of.
289
289
Only required if you want to read the
290
290
the buttons on a specific Trellis board.
@@ -305,13 +305,13 @@ def just_pressed(self, button, *matrices):
305
305
the button was/is depressed. Returns zero otherwise.
306
306
307
307
:param int button: Number of the button you wish to check.
308
- When not including specific `trellis.TRELLIS` objects
309
- (`*matrices` param), the range of `x ` is 0 to the
308
+ When not including specific `` trellis.TRELLIS` ` objects
309
+ (`` *matrices`` param), the range of ``button` ` is 0 to the
310
310
maximum number of buttons available (4 boards: 0-63).
311
- When using `*matrices`, the range of `button` is 0-15
311
+ When using `` *matrices`` , the range of `` button` ` is 0-15
312
312
for the button on each Trellis.
313
313
314
- :param ~trellis.TRELLIS matrices: List of `trellis.TRELLIS` object you
314
+ :param ~trellis.TRELLIS matrices: List of `` trellis.TRELLIS` ` object you
315
315
wish to check the button on.
316
316
Only required if you want to read the
317
317
the buttons on a specific Trellis board.
@@ -336,13 +336,13 @@ def just_released(self, button, *matrices):
336
336
the button was/is released. Returns zero otherwise.
337
337
338
338
:param int button: Number of the button you wish to check.
339
- When not including specific `trellis.TRELLIS` objects
340
- (`*matrices` param), the range of `x ` is 0 to the
339
+ When not including specific `` trellis.TRELLIS` ` objects
340
+ (`` *matrices`` param), the range of ``button` ` is 0 to the
341
341
maximum number of buttons available (4 boards: 0-63).
342
- When using `*matrices`, the range of `button` is 0-15
342
+ When using `` *matrices`` , the range of `` button` ` is 0-15
343
343
for the button on each Trellis.
344
344
345
- :param ~trellis.TRELLIS matrices: List of `trellis.TRELLIS` object you
345
+ :param ~trellis.TRELLIS matrices: List of `` trellis.TRELLIS` ` object you
346
346
wish to check the button on.
347
347
Only required if you want to read the
348
348
the buttons on a specific Trellis board.
0 commit comments