HomeSpan/examples
Gregg 1be40ad6fc Converted LOG1() and LOG2() to variadic macros!
If LOG1() or LOG2() is only provided with a SINGLE argument, then Serial.print() is called.  This allows you to continue using LOG1() and LOG2() to directly print any variable or object that is handled by Serial.print(), such as an int, double, or even an IPAddress.

If LOG1() or LOG2() is provided with multiple arguments, the first is considered the format and Serial.printf(format...) is called.  This allows you to use printf-like functionality within LOG1() and LOG2().
2022-03-06 07:48:12 -06:00
..
01-SimpleLightBulb Update 01-SimpleLightBulb.ino 2020-12-27 12:58:00 -06:00
02-TwoSimpleLightBulbs Updating docs 2020-11-14 16:13:37 -06:00
03-CeilingFanWithLight Added License Info to all files 2020-11-02 20:09:09 -06:00
04-AdvancedCeilingFan Updated Examples to use `setRange()` instead of `new SpanRange()` 2021-03-07 17:39:42 -06:00
05-WorkingLED Added License Info to all files 2020-11-02 20:09:09 -06:00
06-DimmableLED Changed PwmPin to LedPin in all Tutorial Examples 2021-03-21 09:54:57 -05:00
07-IdentifyRoutines Changed PwmPin to LedPin in all Tutorial Examples 2021-03-21 09:54:57 -05:00
08-Bridges Changed PwmPin to LedPin in all Tutorial Examples 2021-03-21 09:54:57 -05:00
09-MessageLogging Changed PwmPin to LedPin in all Tutorial Examples 2021-03-21 09:54:57 -05:00
10-RGB_LED Changed PwmPin to LedPin in all Tutorial Examples 2021-03-21 09:54:57 -05:00
11-ServiceOptions Changed PwmPin to LedPin in all Tutorial Examples 2021-03-21 09:54:57 -05:00
12-ServiceLoops Added check to ensure initial value of Characteristic is in allowable Range 2021-03-06 09:08:57 -06:00
13-TargetStates Fixed bug in Example 13 2021-03-21 12:37:12 -05:00
14-EmulatedPushButtons Removed use of LED_BUILTIN in library and all examples 2021-01-09 12:51:35 -06:00
15-RealPushButtons Changed PwmPin to LedPin in all Tutorial Examples 2021-03-21 09:54:57 -05:00
16-ProgrammableSwitches Removed use of LED_BUILTIN in library and all examples 2021-01-09 12:51:35 -06:00
17-LinkedServices Update 17-LinkedServices.ino 2021-02-15 20:38:32 -06:00
18-SavingStatus Completed Example 18 2021-06-13 21:56:39 -05:00
19-WebLog Converted LOG1() and LOG2() to variadic macros! 2022-03-06 07:48:12 -06:00