Commit Graph

8 Commits (62f747d992ec1b8f9b9ec3529b9b02ffb9271eb6)

Author SHA1 Message Date
David Kebler 62f747d992 0.3.1 major refactor of interrupts vs interrupt
interrupt class can be added multiple times to interrupts with just emitter via new dynamic extends
if used one off can still use uci-base
Both classes will only will only push on interrupt and bother create a socket listener
There is special 'interrupt' log level for easier watching of interrupt events

Added a much imporved multi example that reads in a yaml file of options
added yalc support on remote.  run yalcu in terminal to have syncd ~/.yalc be updated to package while devloping
2020-03-24 14:41:14 -07:00
David Kebler 216bd6b98d 0.2.23 Rework interrupts - remove listen methods and automatically send and emit on any one individual interrupt/reset emit
alos bubble up connection events from individual interrupts
Improved/updated examples , remote example can connect to single or mutliple interrupt example
2019-12-23 14:21:12 -08:00
David Kebler 01d2ebd3a1 0.2.22
interrupts class
extends base on interrupts class
change collection of individual interrupts to a Map
method: listenReset, for setting handler for emitted reset of each single interrupt
method: addInterSocket, to add identical consumer socket to each interrupt
interrupt class
add resetEnabled option
switch default edge to 'both'
refactor status method
refactor reset method
No hook by default, registerHook without argument sets the default hook
refactored examples

update deps
2019-11-21 10:06:24 -08:00
David Kebler e22c21823c 0.2.14 refactor to using on/off with epoll, retiring pigipo. Readme now has some explanation on getting hardware prepared 2019-03-14 10:43:25 -07:00
David Kebler cc75908894 add single push command for multiple interrupts 2018-07-31 10:05:13 -07:00
David Kebler 03c3ac8747 add client example for interrupt sockect server example. Bump version. 2018-07-01 16:02:30 -07:00
David Kebler 2a044c67aa add in other two transports (mqtt/websockets) available with base. Dynamic load pigpio/pigpio-mock 2018-07-01 00:25:15 -07:00
David Kebler 12143f58e4 upgrade to esm from @std/esm 2018-05-16 07:12:14 -07:00