Update Tutorials.md

This commit is contained in:
HomeSpan 2020-11-22 22:25:03 -06:00 committed by GitHub
parent 091c076128
commit 6f488628be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,14 @@ Example 7 uses the encapsulation techniques illustrated in Examples 5 and 6 to d
### [Example 8 - Bridges](../examples/08-Bridges/08-Bridges.ino) ### [Example 8 - Bridges](../examples/08-Bridges/08-Bridges.ino)
Example 8 is functionally identical to Example 7, except that instead of defining two Accessories (one for the on/off LED and one for the dimmable LED), we define three Accessories, where the first acts as a HomeKit Bridge. Example 8 is functionally identical to Example 7, except that instead of defining two Accessories (one for the on/off LED and one for the dimmable LED), we define three Accessories, where the first acts as a HomeKit Bridge.
### [Example 9 - MessageLogging](../examples/09-MessageLogging/09-MessageLogging.ino)
Example 9 illustrates how to add log messages to your HomeSpan sketch. The code is identical to Example 8 except for the inclusion of new log messages. New HomeSpan API topics covered in this example include:
* 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
--- ---
[↩️](README.md) Back to the Welcome page [↩️](README.md) Back to the Welcome page