Commit Graph

2 Commits (6192601fcf25d9363ec9fa9397f6eb8133275e9d)

Author SHA1 Message Date
David Kebler 5c57e614e9 0.3.1 mcp230xxi rework
added default consumer socket to interrupt process, named pipe by default
 added commands.interrupt to consumer namespace so pushed packets from interrupt process will be handled.
interrupt process could still 'send' the packet if that is prefered but command would be prefaced with 'interrupt.'
Fixed the interrupt:reset ready observer to it will get the interrupt ready state correctly.
ready state after reset is sent in outgoing packet so action can be taken if something goes wrong.
creates an iterrupt name for observers based on passed opts.interrupt.name or 'interrupt' by default.
Improved switches example that uses options read from yaml file.  Desgined to work with multi intererupt example and i2cbus example.
2020-03-24 14:51:03 -07:00
David Kebler 9a7fdd9539 0.1.38
commands.js
added pin.cfgs for multiple pin configurations
refactored pin.status, pin._state to better handle multiple pins and 08 vs 17
mpc230xx.js
  changed to not having default sockets but socket can be added by passing lport or lpath
  now supports new new uci-utils/ready module and adds an observer for when chip and pins are configured
mcp230xxi.js
   now supports new new uci-utils/ready module by adds an observer for when the interrupt process connects and also resets
   refactored the interrupt methods and commands to compliment changes in the interrupt module
2020-01-09 20:17:55 -08:00