Fix documentation examples setting RGB LED
Update the examples using set_led function and replacing to use set_rgb Fixes #221
This commit is contained in:
parent
e249113fea
commit
47259c55e8
|
@ -81,7 +81,7 @@ You can set the colour of an LED in either the RGB colourspace, or HSV (Hue, Sat
|
|||
Set the first LED - `0` - to Purple `255, 0, 255`:
|
||||
|
||||
```python
|
||||
led_strip.set_led(0, 255, 0, 255)
|
||||
led_strip.set_rgb(0, 255, 0, 255)
|
||||
```
|
||||
|
||||
#### HSV
|
||||
|
@ -133,7 +133,7 @@ You can set the colour of an LED in either the RGB colourspace, or HSV (Hue, Sat
|
|||
Set the first LED - `0` - to Purple `255, 0, 255`:
|
||||
|
||||
```python
|
||||
led_strip.set_led(0, 255, 0, 255)
|
||||
led_strip.set_rgb(0, 255, 0, 255)
|
||||
```
|
||||
|
||||
#### HSV
|
||||
|
|
Loading…
Reference in New Issue