Commit Graph

15 Commits (5833f42464b1f5d00afc7917db9bb568c9c2f10c)

Author SHA1 Message Date
David Kebler 5833f42464 removed the two default mcp sockets. Make them as needed instead.
Now just pass i2c bus options through to i2c-device.
updated all packages.
2018-02-23 13:44:40 -08:00
David Kebler 342c6f98d2 improve refactor socket options, add _state to module export and bind all functions in pins and chip 2018-02-17 18:25:27 -08:00
David Kebler 8a9950459a basic commands working
configure chip
ack chip
cfg pin
change state of pin (on,off,toggle)
2018-02-10 15:28:51 -08:00
David Kebler 71bd508a0c first commit of packet based mcp code.
incoming packet interpreted and sent on to bus
listens for response and processes and sends back to requestor
Working pin.test example
2018-02-08 09:19:46 -08:00
David Kebler 35605352bf fix bad comment 2017-10-18 17:35:30 -07:00
David Kebler a46e9501eb return boolean for read pin instead of pin number 2017-10-17 10:10:39 -07:00
David Kebler c83c0914b7 aggreate class with event emitter, add bubble up event emitter from interrupts to class 2017-05-30 13:26:49 -07:00
David Kebler 095a11064e improved sample demo, added interrrupt demo, and added mocha hooks to test suite, added function to determine which pin of port fired the interrupt, added pin id to port pins 2017-05-29 22:12:01 -07:00
David Kebler 02b291811d improved testing, significant start to readme, added sample demo 2017-05-28 00:00:26 -07:00
David Kebler f428abc394 refactored port/pin simplified, refactored mcp config writes to async/await, new read/write mocha test 2017-05-26 21:00:04 -07:00
David Kebler 1a97705ab5 refactoring to include port/pin library. Moved some examples to become tests within repo 2017-05-26 08:14:29 -07:00
David Kebler 15e9c2fcd2 update packages to registry from git 2017-05-15 12:42:51 -07:00
David Kebler 50cc30069a using uci-dev now 2017-01-18 22:35:58 -08:00
David Kebler 041204dabd refactoring into unified uci library 2017-01-13 19:52:16 -08:00
David Kebler 4c08f12300 initial 2017-01-12 20:05:20 -08:00