diff --git a/examples/Advanced/11-RGB_LED/11-RGB_LED.ino b/examples/Advanced/10-RGB_LED/10-RGB_LED.ino similarity index 94% rename from examples/Advanced/11-RGB_LED/11-RGB_LED.ino rename to examples/Advanced/10-RGB_LED/10-RGB_LED.ino index bb1f7a7..3cb93dc 100644 --- a/examples/Advanced/11-RGB_LED/11-RGB_LED.ino +++ b/examples/Advanced/10-RGB_LED/10-RGB_LED.ino @@ -4,7 +4,7 @@ // HomeSpan: A HomeKit implementation for the ESP32 // // ------------------------------------------------ // // // -// Example 11: Controlling a full-color RGB LED // +// Example 10: Controlling a full-color RGB LED // // // // // //////////////////////////////////////////////////////////// @@ -15,7 +15,7 @@ void setup() { - // Example 11 illustrates how to control an RGB LED to set any color and brightness. + // Example 10 illustrates how to control an RGB LED to set any color and brightness. // The configuration below should look familiar by now. We've created a new derived Service, // call RgbLED to house all the required logic. You'll find all the code in DEV_LED.h. // For completeness, this configuration also contains an on/off LED and a dimmable LED as shown diff --git a/examples/Advanced/11-RGB_LED/DEV_Identify.h b/examples/Advanced/10-RGB_LED/DEV_Identify.h similarity index 100% rename from examples/Advanced/11-RGB_LED/DEV_Identify.h rename to examples/Advanced/10-RGB_LED/DEV_Identify.h diff --git a/examples/Advanced/11-RGB_LED/DEV_LED.h b/examples/Advanced/10-RGB_LED/DEV_LED.h similarity index 100% rename from examples/Advanced/11-RGB_LED/DEV_LED.h rename to examples/Advanced/10-RGB_LED/DEV_LED.h diff --git a/examples/Advanced/12-ServiceOptions/12-ServiceOptions.ino b/examples/Advanced/11-ServiceOptions/11-ServiceOptions.ino similarity index 99% rename from examples/Advanced/12-ServiceOptions/12-ServiceOptions.ino rename to examples/Advanced/11-ServiceOptions/11-ServiceOptions.ino index d569322..a86d46e 100644 --- a/examples/Advanced/12-ServiceOptions/12-ServiceOptions.ino +++ b/examples/Advanced/11-ServiceOptions/11-ServiceOptions.ino @@ -4,7 +4,7 @@ // HomeSpan: A HomeKit implementation for the ESP32 // // ------------------------------------------------ // // // -// Example 12: Service Options: // +// Example 11: Service Options: // // * setting the Primary Service // // * setting Service Names // // // diff --git a/examples/Advanced/12-ServiceOptions/DEV_Identify.h b/examples/Advanced/11-ServiceOptions/DEV_Identify.h similarity index 100% rename from examples/Advanced/12-ServiceOptions/DEV_Identify.h rename to examples/Advanced/11-ServiceOptions/DEV_Identify.h diff --git a/examples/Advanced/12-ServiceOptions/DEV_LED.h b/examples/Advanced/11-ServiceOptions/DEV_LED.h similarity index 100% rename from examples/Advanced/12-ServiceOptions/DEV_LED.h rename to examples/Advanced/11-ServiceOptions/DEV_LED.h diff --git a/examples/Expert/13-ServiceLoops/13-ServiceLoops.ino b/examples/Expert/12-ServiceLoops/12-ServiceLoops.ino similarity index 98% rename from examples/Expert/13-ServiceLoops/13-ServiceLoops.ino rename to examples/Expert/12-ServiceLoops/12-ServiceLoops.ino index 422abd2..f317758 100644 --- a/examples/Expert/13-ServiceLoops/13-ServiceLoops.ino +++ b/examples/Expert/12-ServiceLoops/12-ServiceLoops.ino @@ -4,7 +4,7 @@ // HomeSpan: A HomeKit implementation for the ESP32 // // ------------------------------------------------ // // // -// Example 13: Service Loops (and Event Notifications) // +// Example 12: Service Loops (and Event Notifications) // // * implementing a Temperature Sensor // // * implementing an Air Quality Sensor // // // @@ -25,7 +25,7 @@ void setup() { // your derived Service. At the end of each HomeSpan polling cycle, the loop() method is called for each Service that implements its own code. // In this fashion, the loop() method is similar to the main loop() method in the Arduino IDE itself - except it can be customized for each Service. - // In this Example 13 we explore the use of loop() methods to implement two new accessories - a Temperature Sensor and an Air Quality Sensor. Of course + // In this Example 12 we explore the use of loop() methods to implement two new accessories - a Temperature Sensor and an Air Quality Sensor. Of course // we won't actually have these physical devices attached to the ESP32 for the purpoe of this example, but we will simulate "reading" their properties. // This is one of the main purposes of implementing a loop() method. It allows you to read a sensor or perform some sort of repetitive, Service-specific // action. diff --git a/examples/Expert/13-ServiceLoops/DEV_Identify.h b/examples/Expert/12-ServiceLoops/DEV_Identify.h similarity index 100% rename from examples/Expert/13-ServiceLoops/DEV_Identify.h rename to examples/Expert/12-ServiceLoops/DEV_Identify.h diff --git a/examples/Expert/13-ServiceLoops/DEV_Sensors.h b/examples/Expert/12-ServiceLoops/DEV_Sensors.h similarity index 100% rename from examples/Expert/13-ServiceLoops/DEV_Sensors.h rename to examples/Expert/12-ServiceLoops/DEV_Sensors.h diff --git a/examples/Expert/14-TargetStates/14-TargetStates.ino b/examples/Expert/13-TargetStates/13-TargetStates.ino similarity index 99% rename from examples/Expert/14-TargetStates/14-TargetStates.ino rename to examples/Expert/13-TargetStates/13-TargetStates.ino index d987fb8..1aeb997 100644 --- a/examples/Expert/14-TargetStates/14-TargetStates.ino +++ b/examples/Expert/13-TargetStates/13-TargetStates.ino @@ -4,7 +4,7 @@ // HomeSpan: A HomeKit implementation for the ESP32 // // ------------------------------------------------ // // // -// Example 14: Target States and Current States // +// Example 13: Target States and Current States // // // //////////////////////////////////////////////////////////// diff --git a/examples/Expert/14-TargetStates/DEV_DoorsWindows.h b/examples/Expert/13-TargetStates/DEV_DoorsWindows.h similarity index 100% rename from examples/Expert/14-TargetStates/DEV_DoorsWindows.h rename to examples/Expert/13-TargetStates/DEV_DoorsWindows.h diff --git a/examples/Expert/14-TargetStates/DEV_Identify.h b/examples/Expert/13-TargetStates/DEV_Identify.h similarity index 100% rename from examples/Expert/14-TargetStates/DEV_Identify.h rename to examples/Expert/13-TargetStates/DEV_Identify.h