Skip to content

Commit

Permalink
Update LEDBoard init docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bennuttall committed Oct 25, 2015
1 parent 766646f commit 010f1fd
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions docs/boards.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,12 @@ Ensure the `LEDBoard` class is imported at the top of the file:
from gpiozero import LEDBoard
```

Create an `LEDBoard` object by passing in a list of the LED pin numbers:
Create an `LEDBoard` object by passing in the LED pin numbers:

```python
leds = LEDBoard([2, 3, 4, 5, 6])
leds = LEDBoard(2, 3, 4, 5, 6)
```

#### Initialisation options

```python
LEDBoard(leds=None)
```

| Argument | Description | Values | Default |
| -------- | ----------- | ------ | ------- |
| `leds` | List of GPIO pins each LED is connected to, order preserved. | List | *Required* |

#### Methods

| Method | Description | Arguments |
Expand Down

0 comments on commit 010f1fd

Please sign in to comment.