From 418fe6f29aa692b81c68ffa3ad34f554b82a07a5 Mon Sep 17 00:00:00 2001 From: topshed Date: Fri, 13 Dec 2024 15:49:02 +0000 Subject: [PATCH] fixed error in docs --- docs/reference.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/reference.md b/docs/reference.md index cf19ee7..e02180c 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -82,23 +82,23 @@ This `RGBLED` object offers two functions to control its associated output, `set ```python # Turn the rgb output to red -tiny.set_rgb(255, 0, 0) -# tiny.set_hsv(0, 1, 1) +tiny.rgb.set_rgb(255, 0, 0) +# tiny.rgb.set_hsv(0, 1, 1) time.sleep(1) # Turn the rgb output to green -tiny.set_rgb(0, 255, 0) -# tiny.set_hsv(0.333, 1, 1) +tiny.rgb.set_rgb(0, 255, 0) +# tiny.rgb.set_hsv(0.333, 1, 1) time.sleep(1) # Turn the rgb output to blue -tiny.set_rgb(0, 0, 255) -# tiny.set_hsv(0.666, 1, 1) +tiny.rgb.set_rgb(0, 0, 255) +# tiny.rgb.set_hsv(0.666, 1, 1) time.sleep(1) # Turn the rgb output to white -tiny.set_rgb(255, 255, 255) -# tiny.set_hsv(0, 0, 1) +tiny.rgb.set_rgb(255, 255, 255) +# tiny.rgb.set_hsv(0, 0, 1) time.sleep(1) ```