Commit Graph

5 Commits

Author SHA1 Message Date
Gregg 1f89673fb7 Updated 20-DynamicBridge to use std::array<>
This allows the use of std::find(), std::remove, and iterator methods.  Code is more intuitive.
2022-05-21 17:05:23 -05:00
Gregg 7835665e60 Update 20-DynamicBridge.ino 2022-05-21 12:11:53 -05:00
Gregg 00ea4c6dd8 Changes homeSpan.getAccessory(aid) to homeSpan.deleteAccessory()
The only reason to have used getAccessory(aid) is to delete it, so the delete command is now invoked automatically.  Function returns 0 on success (matching aid found) or -1 on fail (aid not found)
2022-05-21 12:08:03 -05:00
Gregg f471e7377b Update 20-DynamicBridge.ino 2022-05-14 11:21:59 -05:00
Gregg 615d373850 Added Example 20 - Dynamic Bridge. Also created homeSpan.getAccessory(aid) 2022-05-14 10:00:30 -05:00