HomeSpan
95ca6637f7
Update Pixels.md
2022-02-19 13:12:27 -06:00
HomeSpan
c06daedfba
Update Pixels.md
2022-02-19 12:26:43 -06:00
HomeSpan
72a042b7cc
Update Pixels.md
2022-02-19 10:37:11 -06:00
HomeSpan
95c767a1b0
Update Pixels.md
2022-02-19 10:19:04 -06:00
HomeSpan
aed0a4b1db
Update Pixels.md
2022-02-19 07:41:27 -06:00
HomeSpan
c8a613ccac
Update Pixels.md
2022-02-19 07:01:32 -06:00
HomeSpan
84234f3265
Update Pixels.md
2022-02-18 18:21:19 -06:00
HomeSpan
2b49a8cba1
Create Pixels.md
2022-02-18 17:57:44 -06:00
Gregg
a83d3a7fda
Added static HSV and RGB color methods to Pixel() and Dot()
...
Updated Pixel example to demonstrate use of the static HSV method
2022-02-17 18:27:31 -06:00
Gregg
5e72dcbbea
Completed Pixel Example
...
Example contains 1 NeoPixel RGB, 1 NeoPixel RGBW, and 1 DotStar RGB.
Tested on ESP32, ESP32-S2, and ESP32-C3.
2022-02-13 14:39:34 -06:00
Gregg
a4fb99a684
Updated Pixel Example
2022-02-13 11:57:34 -06:00
Gregg
eee0eb6954
Embedded HSV and RGB methods inside Color object
...
Makes coding with Pixel() and Dot() easier
2022-02-12 15:31:55 -06:00
HomeSpan
effe8e5965
Update Reference.md
2022-02-11 15:49:37 -06:00
Gregg
c40c744702
Small modification to status message
2022-02-11 09:24:51 -06:00
HomeSpan
9f497f7f61
Update Reference.md
2022-02-11 09:16:12 -06:00
HomeSpan
f8d69316fa
Update Reference.md
2022-02-11 09:15:31 -06:00
HomeSpan
e54f4fbc3f
Update Reference.md
2022-02-11 09:09:40 -06:00
HomeSpan
a198de8de9
Update Reference.md
2022-02-11 09:08:29 -06:00
HomeSpan
e0855e9b52
Update Reference.md
2022-02-11 09:05:01 -06:00
HomeSpan
0034f83e58
Update Reference.md
2022-02-11 07:51:55 -06:00
Gregg
ac88329d34
Deprecated setMaxConnections(); Added reserveSocketConnections()
...
Use homeSpan.reserveSocketConnections(n) to reserve n sockets *not* to be used for HAP. Multiple calls can be used to cumulate a total number of reserved sockets. This makes is easy to add reserveSocketConnections(n) at multiple point in the code whenever a certain number of sockets need to be reserved for use with that portion of the code. For example enableOTA() calls reserveSocketConnections(1).
If both setMaxConnections(), and one or more reserveSocketConnections(), methods are called HomeSpan will use the more restrictive net value.
2022-02-10 21:55:03 -06:00
Gregg
4973d1aaa1
Revert "Initial coding of protectPinISR(pin) method"
...
This reverts commit 852a916d61 .
2022-02-10 21:09:42 -06:00
HomeSpan
1efe7bba0a
Update Reference.md
2022-02-10 21:08:17 -06:00
HomeSpan
8525495720
Update Reference.md
2022-02-10 21:04:52 -06:00
Gregg
44ee504831
Merge branch 'dev' of https://github.com/HomeSpan/HomeSpan into dev
2022-02-10 21:02:12 -06:00
Gregg
32b417a1da
Added homeSpan method deleteStoredValues()
...
Provides a programmatic way of deleting all stored Characteristic values from NVS. Identical to the 'V' CLI Command.
2022-02-10 21:02:10 -06:00
HomeSpan
65f000d65e
Update Reference.md
2022-02-10 20:48:16 -06:00
HomeSpan
4270760c40
Update Reference.md
2022-02-10 06:21:53 -06:00
HomeSpan
9e229cda9a
Update QRCodes.md
2022-02-07 21:57:58 -06:00
Gregg
f955ff689b
Added homeSpan.setPairCallback() method
...
Callback function must be of type void()(boolean isPaired). Will be called when device is paired and when device is unpaired. Allows for user-defineable actions upon device pairing/unpairing.
2022-02-06 08:39:47 -06:00
Gregg
9e40666231
Added Pixel() and Dot() operator overloads to Color struct
...
Color now supports a==b, a!=b, a+b, a-b, a+=b, and a-=b operators
2022-02-05 23:30:28 -06:00
Gregg
acdcab1132
Verified Pixel() and Dot() classes work on ESP32-C3
2022-02-05 16:24:01 -06:00
Gregg
e27d310733
Updated Pixel Example to use Pixel() and Dot() Classes
2022-02-05 16:08:51 -06:00
Gregg
d0a13e5417
Updated Pixel() class to use more streamlined methods implemented in Dot() class
...
Pixel() and Dot() classes are now complete. Tested DotStar RGB, NeoPixel RGB, and NeoPixel RGBW, all running at same time on a single ESP32.
Next up: Must update Pixel Example as well as Holiday Lights Project
To Do: Add documentation page for Pixel() and Dot()
2022-02-05 12:35:01 -06:00
Gregg
a21cc0679d
Add two-wire addressable DotStar RGB LEDs to Pixel.h
...
Pixel.h now contains Pixel() and Dot() classes.
Dot() class uses more streamlined methods; must next update Pixel() to use similar methods, which will allow Pixel and Dot to be more "interchangeable".
2022-02-05 09:17:56 -06:00
Gregg
852a916d61
Initial coding of protectPinISR(pin) method
...
Works for all NVS calls in homeSpan.h. To Do: Add logic to all other NVS calls.
2022-01-30 22:33:07 -06:00
Gregg
d2bbd4f56c
Added logic for RGB vs. RGBW
...
Tested with original 8-pixel RGB and 60-pixel RGBW. Works as expected.
2022-01-29 18:26:17 -06:00
HomeSpan
877f47a64d
Split RFControl constructor into public and private versions
...
Private constructor only used for Pixel, which is friend class of RFControl
2022-01-27 21:41:05 -06:00
Gregg
4588669cd2
Added ARDUINO_VARIANT (type of board) to MDNS
2022-01-23 16:40:46 -06:00
Gregg
46820c66a2
Add Arduino-ESP32 version number to MDNS output
2022-01-23 15:00:12 -06:00
Gregg
b7f2495e7c
Update Pixel.ino
...
Added example pin definitions for ESP32/S2/C3
2022-01-22 17:52:33 -06:00
Gregg
a09b8d0b85
Update Pixel.cpp
2022-01-22 07:18:19 -06:00
Gregg
95b41fd929
Revert "Update logic so Pixel uses only ONE channel and shares across all instances"
...
This reverts commit 4af3a22764 .
2022-01-22 07:09:48 -06:00
Gregg
4af3a22764
Update logic so Pixel uses only ONE channel and shares across all instances
2022-01-21 21:56:51 -06:00
Gregg
e060856b78
corrected an issue in loadData ISR that would cause a hang
...
Also updated Pixel example with Knight Rider Effect.
Testing on C3 seems to be working. Must test on S2 and ESP32 next.
2022-01-20 21:01:31 -06:00
Gregg
4419a91bef
verified functionality on ESP32-S2
2022-01-17 13:15:24 -06:00
Gregg
fd3955f0c2
verified functionality on ESP32 original
2022-01-17 12:52:09 -06:00
Gregg
b6d21fd2c0
streamlined identification of interrupt masks and memory size
2022-01-17 12:36:02 -06:00
Gregg
89f0d0dd94
verified works on C3 when either channel 0 or 1 is used
2022-01-17 11:30:55 -06:00
Gregg
5f513c4c34
updated
2022-01-17 08:25:26 -06:00