diff --git a/examples/15-RealPushButtons/DEV_LED.h b/examples/15-RealPushButtons/DEV_LED.h index 7c74395..f454f11 100644 --- a/examples/15-RealPushButtons/DEV_LED.h +++ b/examples/15-RealPushButtons/DEV_LED.h @@ -12,9 +12,9 @@ struct DEV_DimmableLED : Service::LightBulb { // Dimmable LED // This version of the Dimmable LED Service is similar to the one last used in Example 11, but now includes support for 3 physical PushButtons // performing the following actions: // - // power button: SHORT press toggles power on/off; LONG press sets brightness to 100% if power is on, or sets brightness to 5% if power is off - // raise button: SHORT press increases brightness by 1%. LONG press increases brightness by 10% - // lower button: SHORT press decreases brightness by 1%. LONG press decreases brightness by 10% + // power button: SHORT press toggles power on/off; LONG press saves current brightness as favorite level; DOUBLE press sets brightness to favorite level + // raise button: SHORT press increases brightness by 1%; LONG press increases brightness by 10%; DOUBLE press increases brightness to maximum + // lower button: SHORT press decreases brightness by 1%; LONG press decreases brightness by 10%; DOUBLE press decreases brightness to minimum PwmPin *pwmPin; // reference to PWM Pin int ledPin; // pin number defined for this LED diff --git a/library.properties b/library.properties index da4cea4..e737726 100644 --- a/library.properties +++ b/library.properties @@ -5,5 +5,5 @@ maintainer=Gregg sentence=A robust and extremely easy-to-use HomeKit implementation for the Espressif ESP32 running on the Arduino IDE. paragraph=This library provides a microcontroller-focused implementation of Apple's HomeKit Accessory Protocol (HAP - Release R2) designed specifically for the ESP32 running on the Arduino IDE. HomeSpan pairs directly to iOS Home via WiFi without the need for any external bridges or components. The user can then use the full power of the ESP32's I/O functionality to create custom control software and/or hardware to operate external devices. url=https://github.com/HomeSpan/HomeSpan -architectures=* +architectures=esp32 includes=HomeSpan.h