Set architecture=esp32 in library.properties.
Also fixed some comments in Example 15.
This commit is contained in:
parent
993edfa622
commit
5468f8e89e
|
|
@ -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
|
// 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:
|
// 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
|
// 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%
|
// 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%
|
// 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
|
PwmPin *pwmPin; // reference to PWM Pin
|
||||||
int ledPin; // pin number defined for this LED
|
int ledPin; // pin number defined for this LED
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,5 @@ maintainer=Gregg <homespan@icloud.com>
|
||||||
sentence=A robust and extremely easy-to-use HomeKit implementation for the Espressif ESP32 running on the Arduino IDE.
|
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.
|
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
|
url=https://github.com/HomeSpan/HomeSpan
|
||||||
architectures=*
|
architectures=esp32
|
||||||
includes=HomeSpan.h
|
includes=HomeSpan.h
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue