Commit Graph

1568 Commits

Author SHA1 Message Date
HomeSpan 837818f4cc
Update Reference.md 2023-01-13 07:28:52 -06:00
HomeSpan fa787a9c63
Update PWM.md 2023-01-13 06:51:08 -06:00
HomeSpan b453c51458
Update Pixels.md 2023-01-08 11:32:35 -06:00
Gregg 6d18d5a3dc Added "invert" option to LedPin()
If invert=true, PWM output will be phase-inverted.  This is useful when creating a pair of PWM pins that need to be out of phase by 180 degrees (e.g driving a piezo-electric buzzer via two PWM pins).
2023-01-07 20:44:19 -06:00
Gregg a8271c8724 Added homeSpan.refreshStatusDevice()
Provides for additional control over Status LED when a generic device has been used.  If the color of the device is changed, the change will only take effect when the LED is next turned on.  If the LED is blinking, the color changes upon the next blink.  But if the LED is ON, there is no next blink and color will not change.

This method check the status of the LED, and if it is ON, is calls the on() function again, which will result in an update of the color.  The method does nothing if the LED is OFF or BLINKING.
2023-01-07 17:09:22 -06:00
Gregg 9ef9a590da Added homeSpan.setStatusDevice()
Allows any Blinkable class to be used as the Status LED
2023-01-07 14:28:50 -06:00
HomeSpan 809e2f8802
Update LICENSE 2023-01-02 06:28:40 -06:00
HomeSpan 56a46b5fdb
Update Reference.md 2023-01-01 17:10:08 -06:00
HomeSpan e51dc8c765
Update Reference.md 2023-01-01 16:52:19 -06:00
HomeSpan 4b88d4a1af
Update Reference.md 2023-01-01 15:22:12 -06:00
Gregg 3cb8d27342 Added CUSTOM_CHAR_DATA() macro
Similar to CUSTOM_CHAR_STRING() macro, but does not include a parameter to set the default value (since the user can type an invalid string).  Instead, user setData after creating the Characteristic as needed.
2023-01-01 15:08:34 -06:00
Gregg 72b4ece64d Added DATA format
Includes 3 new methods: getData(), getNewData(), and setData()
2023-01-01 11:33:50 -06:00
HomeSpan 2ad56e5d3a
Update README.md 2022-12-29 22:30:48 -06:00
HomeSpan f3f2c5c4c8
Update TVServices.md 2022-12-29 12:36:09 -06:00
HomeSpan 5d669a4425
Update README.md 2022-12-29 12:06:05 -06:00
HomeSpan ea3da95e6b
Update Solutions.md 2022-12-29 12:04:41 -06:00
HomeSpan 8c034b12bb
Update Solutions.md 2022-12-29 11:21:32 -06:00
HomeSpan 8d91f218cc
Update Solutions.md 2022-12-29 11:11:45 -06:00
HomeSpan 35d837567e
Update Solutions.md 2022-12-29 11:08:02 -06:00
Gregg 1f7c86621c Bumped version number to 1.7.1 2022-12-28 17:18:59 -06:00
Gregg 9ecc355c84 Moved "Other Examples" into "examples" folder
Noticed that the Arduino IDE 2.0 interface was not displaying Other Examples.

This is because Other Examples was not under the "examples" folder.  Not sure why this was the case - I should have originally put it there (?)  Regardless, once moved into the examples folder, Other Examples now properly shows up in both Arduino IDE version 1 and version 2.
2022-12-27 17:44:03 -06:00
Gregg eecce34848 Added NVS storage for last channel used in SpanPoint
Applicable only for remote devices (i.e. not a Hub device).  Last channel stored is used as initial channel upon reboot, provided that this channel is allowed by the channel mask (if not, the first allowed channel is selected instead).
2022-12-27 09:55:30 -06:00
Gregg 3fae9c24a9 Updated Television Characteristics
Removed Mute, Active, and Volume since they don't appear to do anything.
2022-12-23 18:39:14 -06:00
Gregg 7939624bf7 Added Service::TelevisionSpeaker
Also updated Television Example.  Volume buttons on remote now function as expected, though there does not seems to be a mute button
2022-12-23 16:51:55 -06:00
HomeSpan 7c8b1d27cf
Update Solutions.md 2022-12-22 17:10:12 -06:00
HomeSpan 7067f666d9
Update Solutions.md 2022-12-22 13:39:35 -06:00
HomeSpan a5db90555d
Update Reference.md 2022-12-22 12:40:49 -06:00
HomeSpan 1cecb0d684
Update Solutions.md 2022-12-22 07:15:05 -06:00
HomeSpan c92de19c79
Create Solutions.md 2022-12-22 06:59:53 -06:00
Gregg ea07da5ab0 Update HomeSpan.h
Fixed another compiler warning
2022-12-11 14:19:37 -06:00
Gregg 5daaf3d0cf Added #pragma once to extras header files 2022-12-03 11:12:30 -06:00
Gregg 484f1c4f2e Cleaned up compiler warnings
* Changed ~SpanService to virtual function to ensure any user-defined destructor is also called

* Found/corrected bug in error message related to defining a Characteristic without any Service

* Added warning/error ID numbers to warning/error messages

* Other misc changes to clean up compiler warnings
2022-12-02 17:49:54 -06:00
HomeSpan cc443f8f08
Merge pull request #439 from HomeSpan/master
Update dev to reflect final master 1.7.0
2022-11-17 10:44:26 -06:00
HomeSpan 3521df6ac7
Update README.md 2022-11-11 18:06:53 -06:00
HomeSpan 7b457bbbb8
Merge pull request #422 from HomeSpan/dev
Create HomeSpan 1.7.0
2022-11-11 18:05:28 -06:00
HomeSpan 1c5ece0512
Update library.properties 2022-11-08 05:44:47 -06:00
Gregg a761d992e8 Updated version number to 1.7.0 2022-11-08 05:37:25 -06:00
HomeSpan 8ff9ebc2c1
Update README.md 2022-11-06 13:58:01 -05:00
HomeSpan 46c56284c3
Update README.md 2022-11-06 13:51:37 -05:00
HomeSpan 0aa84a8051
Update README.md 2022-11-06 13:44:40 -05:00
HomeSpan 5b1b9396a0 Update HomeSpan.h 2022-11-05 12:09:36 -04:00
HomeSpan 067fd31668
Update HS_STATUS.md 2022-11-05 12:08:56 -04:00
HomeSpan bdfad4daac
Update HS_STATUS.md 2022-11-05 11:57:36 -04:00
HomeSpan 2ff19dcc30
Update HS_STATUS.md 2022-11-05 11:56:07 -04:00
HomeSpan 22a004e315
Update Reference.md 2022-11-05 11:51:00 -04:00
HomeSpan 6763b2a79b
Update HS_STATUS.md 2022-11-05 11:48:15 -04:00
HomeSpan 39850c17cb
Update HS_STATUS.md 2022-11-05 11:45:29 -04:00
HomeSpan 2746803c3e Create HS_STATUS.md 2022-11-05 11:24:25 -04:00
HomeSpan 326d5c99b5
Update Reference.md 2022-11-05 08:07:11 -04:00
Gregg dd3cc8ab3b Fixed bug in postPairingsURL logic 2022-10-31 21:08:45 -05:00