Update Tutorials.md

This commit is contained in:
HomeSpan 2021-06-13 22:13:46 -05:00 committed by GitHub
parent 0a3dbb99dc
commit 765767573f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -92,6 +92,11 @@ Example 17 introduces the HAP concept of Linked Services and demonstrates how th
* creating Linked Services using the `addLink()` method * creating Linked Services using the `addLink()` method
### [Example 18 - SavingStatus](../examples/18-SavingStatus)
Example 18 demonstrates, through the implementaton of two Dimmable LEDs, how the values of Characteristics can be automatically saved in the device's non-volatile storage (NVS) for restoration upon start-up if the device is power-cycled. New HomeSpan API topics covered in this example include:
* instructing HomeSpan to store the value of a Characteristic in NVS by setting the second parameter of the constuctor to `true`
--- ---
[↩️](README.md) Back to the Welcome page [↩️](README.md) Back to the Welcome page