Commit Graph

73 Commits

Author SHA1 Message Date
mmcwilliams 495e59eae2 Use log library in intval module 2017-09-25 23:26:13 -04:00
mmcwilliams 50a335af95 Add log library and microswitch logic 2017-09-24 22:28:26 -04:00
mmcwilliams 31a5b315bd Try out microswitch logic 2017-09-23 08:53:48 -04:00
mmcwilliams bc077a24a1 Document remaining functions in lib/intval 2017-09-19 15:40:42 -04:00
mmcwilliams aadf6aef37 Remove extra function name from docs
jsdoc does this well enough without repeating. Does not actually
improve readability in code
2017-09-19 15:23:48 -04:00
mmcwilliams 52c0c6f352 Add default optional values to documentation 2017-09-19 15:20:58 -04:00
mmcwilliams 32affb1b72 Use PINS configuration object to initialize pins
TODO: Separate into file, automatically switching out for different
models
2017-09-19 15:06:34 -04:00
mmcwilliams 332399cfd7 Document intval lib 2017-09-18 20:46:18 -04:00
mmcwilliams 78135c4e77 More complex logic to prevent errant closed events from breaking 2017-09-17 20:25:21 -04:00
mmcwilliams 418d33c8f7 Updated default behavior of frame
Also added a parallel example of the logic to gpio.js
2017-09-17 19:51:33 -04:00
mmcwilliams 32625bbbde Unexport buttons on uncaught exception 2017-09-16 13:35:39 -04:00
mmcwilliams a0729ff9d9 Write using template string, not object 2017-08-30 08:59:27 -04:00
mmcwilliams c87d425c57 Add better state object structure
And use in preliminary logic
2017-08-29 22:27:56 -04:00
mmcwilliams ddf89cf6aa Start intval logic in module 2017-08-29 08:23:52 -04:00
mmcwilliams 9eac1e0193 Install with latest node.js and latest npm
Create a sim library as a fallback for the on off module, for
development
2017-08-28 08:49:47 -04:00
mmcwilliams 40cfda8d90 Remove logging. 2017-08-26 19:26:30 -04:00
mmcwilliams 760c6c72ab Require specifically the Gpio function 2017-08-26 19:08:39 -04:00
mmcwilliams 90210e02f3 Dump contents of the onoff to console 2017-08-26 19:06:43 -04:00
mmcwilliams 524aba90d8 Install onoff for better button watching 2017-08-22 01:31:27 -04:00
mmcwilliams 77a10fa80a Add stubb functionality for starting and stopping motor via hbridge 2017-08-22 00:49:08 -04:00
mmcwilliams 0d05b18682 Add startFrame variable for tracking length of frames 2017-08-22 00:30:17 -04:00
mmcwilliams 1c53af9215 Add routes for basic app structure 2017-08-22 00:00:24 -04:00
mmcwilliams 16cf29adbb Create an intval library for all the gpio logic 2017-08-21 23:52:27 -04:00