From 47259c55e8564e5bc979a288b4d1ed588ff1f7ca Mon Sep 17 00:00:00 2001 From: Edd Hurst Date: Sun, 21 Nov 2021 14:05:12 +0000 Subject: [PATCH] Fix documentation examples setting RGB LED Update the examples using set_led function and replacing to use set_rgb Fixes #221 --- micropython/modules/plasma/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/modules/plasma/README.md b/micropython/modules/plasma/README.md index 5e5ca4b0..8b71787b 100644 --- a/micropython/modules/plasma/README.md +++ b/micropython/modules/plasma/README.md @@ -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