From 0706d332da7d3c9ba126d0868b022be44533ed66 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Mon, 23 Nov 2020 08:06:55 -0600 Subject: [PATCH] Update Tutorials.md --- docs/Tutorials.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Tutorials.md b/docs/Tutorials.md index fd9729f..259e30e 100644 --- a/docs/Tutorials.md +++ b/docs/Tutorials.md @@ -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 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