From 44566535ffec591703eba06ea3e0a9118789384f Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Mon, 23 Nov 2020 07:37:22 -0600 Subject: [PATCH] Update Tutorials.md --- docs/Tutorials.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/Tutorials.md b/docs/Tutorials.md index 5a4ae39..d3e4314 100644 --- a/docs/Tutorials.md +++ b/docs/Tutorials.md @@ -51,6 +51,11 @@ Example 9 illustrates how to add log messages to your HomeSpan sketch. The code * using the `LOG1()` and `LOG2()` macros to create log messages for different log levels * setting the initial log level for a sketch with the `homeSpan.setLogLevel()` method +### [Example 10 - RGB_LED](../examples/10-RGB_LED/10-RGB_LED.ino) +Example 10 illustrates how to control an RGB LED to set any color and brightness. New HomeSpan API topics covered in this example include: + +* converting HomeKit Hue/Saturation/Brightness levels to Red/Green/Blue levels using `PwmPin::HSVtoRGB()` +* using the optional template functionality of `getVal()`, such as `getVal()` ---