Commit Graph

36 Commits (71bd508a0ceb72caf59e2f0eb921da8b34abf237)

Author SHA1 Message Date
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 6dcd4da327 updated 2017-06-23 11:03:50 -07:00
David Kebler a7ea2e2372 fix toggleall issue 2017-06-02 00:11:31 -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 0fb62e2db1 added port read and write methods to mcp class 2017-05-24 21:15:54 -07:00
David Kebler 832a507204 refactoring using async/await and new interrupt class code based on pigpio. Handler keeps proper scope. Interrupts working!!! 2017-05-20 22:23:24 -07:00
David Kebler 1d659aeb58 start of conversion to async/await 2017-05-20 17:13:58 -07:00
David Kebler 9c88903d42 start of conversion to async/await 2017-05-20 17:13:14 -07:00
David Kebler 15e9c2fcd2 update packages to registry from git 2017-05-15 12:42:51 -07:00
David Kebler 7e3e92db14 add documentation 2017-05-15 11:03:31 -07:00
David Kebler ecb455e7ea add start method fix pinRead for port B 2017-02-21 21:41:25 -08:00
David Kebler 3f0d0ad407 fully working control example with interrupts 2017-02-02 01:42:24 -08:00
David Kebler cd52c3ffab trying to fix gpio sync issue 2017-02-01 22:52:55 -08:00
David Kebler 39b0e43d56 working interrupt with both ports 2017-01-31 23:28:49 -08:00
David Kebler e333378c36 operation interrupt processing from mcp to rpi and resetting 2017-01-27 21:06:16 -08:00
David Kebler ba2db815e5 working on interrupt init 2017-01-25 11:41:33 -08:00
David Kebler 8368b5d3fe updating ignored 2017-01-21 23:48:44 -08:00
David Kebler 120ba35cd3 no need to test for existence of opts.interrupt 2017-01-21 23:48:44 -08:00
David Kebler 4e4a43a099 adding interrupt class for gpio pins on RPi and the like 2017-01-18 22:35:58 -08:00
David Kebler 1c7af6009f last cleanup after uci-dev split out 2017-01-18 22:35:58 -08:00
David Kebler 50cc30069a using uci-dev now 2017-01-18 22:35:58 -08:00
David Kebler f93ab1f994 adapt for new uci-dev package and utility changes 2017-01-18 22:35:58 -08:00
David Kebler 13097c8d22 read write tests 2017-01-18 22:35:58 -08:00
David Kebler 860b38b621 fix super calls to write and promise chains 2017-01-18 22:35:58 -08:00
David Kebler f724ef775e remove queue wrap of bus r/w 2017-01-18 22:35:58 -08:00
David Kebler 635d7fc35e refactor bus and device class, testing of i2c r/w 2017-01-18 22:35:58 -08:00
David Kebler 34b951f528 mcp test edits 2017-01-18 22:35:58 -08:00
David Kebler 4dca2803ac git subrepo pull uci-mcp
subrepo:
  subdir:   "uci-mcp"
  merged:   "87e4761"
upstream:
  origin:   "https://git.kebler.net/uCOMmandIt/uci-mcp.git"
  branch:   "master"
  commit:   "041204d"
git-subrepo:
  version:  "0.3.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "55f8cfd"
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