Update Tutorials.md

This commit is contained in:
HomeSpan 2020-11-23 08:06:55 -06:00 committed by GitHub
parent 7acd023fd2
commit 0706d332da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,12 @@ Example 12 introduces HomeKit *Event Notifications* to implement two new accesso
### [Example 13 - TargetStates](../examples/13-TargetStates/13-TargetStates.ino) ### [Example 13 - TargetStates](../examples/13-TargetStates/13-TargetStates.ino)
Example 13 we demonstrate the simultaneous use of both the `update()` and `loop()` methods by implementing two new Services: a Garage Door Opener and a motorized Window Shade. Both examples showcase HomeKit's Target-State/Current-State framework. Example 13 we demonstrate the simultaneous use of both the `update()` and `loop()` methods by implementing two new Services: a Garage Door Opener and a motorized Window Shade. Both examples showcase HomeKit's Target-State/Current-State framework.
### [Example 14 - EmulatedPushButtons](../examples/14-EmulatedPushButtons/14-EmulatedPushButtons.ino)
Example 14 demonstrates how you can use the `setVal()` and `timeVal()` methods inside a Service's `loop()` method to create a tile in the Home App that emulates a pushbutton switch. In this example pressing the tile in the Home App will cause it to turn on, blink an LED 3 times, and then turn off. Just like a real pushbutton might do.
--- ---
[↩️](README.md) Back to the Welcome page [↩️](README.md) Back to the Welcome page