From 010f1fd65ce8ce89bb357c95e668dc43b01c35b3 Mon Sep 17 00:00:00 2001 From: Ben Nuttall Date: Sun, 25 Oct 2015 22:05:17 +0000 Subject: [PATCH] Update LEDBoard init docs --- docs/boards.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/docs/boards.md b/docs/boards.md index d2213c2..c9adc95 100644 --- a/docs/boards.md +++ b/docs/boards.md @@ -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 |