Skip to content

Commit 68d63c7

Browse files
sebromeroactions-user
authored andcommitted
Update documentation
1 parent b0b4930 commit 68d63c7

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

docs/api.md

+36
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
* [buttons](#modulino.buttons)
1010
* [ModulinoButtons](#modulino.buttons.ModulinoButtons)
1111
* [\_\_init\_\_](#modulino.buttons.ModulinoButtons.__init__)
12+
* [led\_a](#modulino.buttons.ModulinoButtons.led_a)
13+
* [led\_b](#modulino.buttons.ModulinoButtons.led_b)
14+
* [led\_c](#modulino.buttons.ModulinoButtons.led_c)
1215
* [set\_led\_status](#modulino.buttons.ModulinoButtons.set_led_status)
1316
* [long\_press\_duration](#modulino.buttons.ModulinoButtons.long_press_duration)
1417
* [long\_press\_duration](#modulino.buttons.ModulinoButtons.long_press_duration)
@@ -197,6 +200,39 @@ Initializes the Modulino Buttons.
197200
- `i2c_bus` _I2C_ - The I2C bus to use. If not provided, the default I2C bus will be used.
198201
- `address` _int_ - The I2C address of the module. If not provided, the default address will be used.
199202

203+
<a id="modulino.buttons.ModulinoButtons.led_a"></a>
204+
205+
### `led_a`
206+
207+
```python
208+
@property
209+
def led_a() -> ModulinoButtonsLED
210+
```
211+
212+
Returns the LED A object of the module.
213+
214+
<a id="modulino.buttons.ModulinoButtons.led_b"></a>
215+
216+
### `led_b`
217+
218+
```python
219+
@property
220+
def led_b() -> ModulinoButtonsLED
221+
```
222+
223+
Returns the LED B object of the module.
224+
225+
<a id="modulino.buttons.ModulinoButtons.led_c"></a>
226+
227+
### `led_c`
228+
229+
```python
230+
@property
231+
def led_c() -> ModulinoButtonsLED
232+
```
233+
234+
Returns the LED C object of the module.
235+
200236
<a id="modulino.buttons.ModulinoButtons.set_led_status"></a>
201237

202238
### `set_led_status`

0 commit comments

Comments
 (0)