Commit Graph

548 Commits

Author SHA1 Message Date
mmcwilliams 332399cfd7 Document intval lib 2017-09-18 20:46:18 -04:00
mmcwilliams 0fc4200f6d Re-add watch callback console.log 2017-09-17 20:27:51 -04:00
mmcwilliams 78135c4e77 More complex logic to prevent errant closed events from breaking 2017-09-17 20:25:21 -04:00
mmcwilliams 2d0aaaca8c Remove extra log events
Test running test for extended length of time to test whether or not
errant 0 change events trigger frames
2017-09-17 20:00:26 -04:00
mmcwilliams f13d609fce Fixed over 1000ms sequence logic 2017-09-17 19:57:38 -04:00
mmcwilliams 4cb28c024d Caught major oversight. 1 = open
Therefore frame event needs to be determined on open, after started
when closed
2017-09-17 19:55:35 -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 c49c6a5b8d Documentation for blootstrap 2017-09-17 17:54:07 -04:00
mmcwilliams b60334d4b7 Add documentation to wifi library 2017-09-17 15:50:14 -04:00
mmcwilliams e3393e6e7d Add documentation to onoffsim 2017-09-17 15:20:38 -04:00
mmcwilliams 9f308f035f Install jsdoc-to-markdown for documentation
For adding documentation to libraries
2017-09-17 15:13:40 -04:00
mmcwilliams d2e5c0f998 GPIO 05 works with pulldown resistor
Now try with built in watch command
2017-09-16 15:09:29 -04:00
mmcwilliams 28810e761d Try gpio05 2017-09-16 15:07:34 -04:00
mmcwilliams 47abb3b8e5 Watch not responding to shorts, use set interval with a readSync() 2017-09-16 14:54:40 -04:00
mmcwilliams c8f9236a9d Pin 12 not GPIO 18? 2017-09-16 14:51:37 -04:00
mmcwilliams 996e0ca81a Add gpio.js test file 2017-09-16 14:47: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 cf537af849 Add intval3 index to process file, for pm2 2017-08-29 22:27:37 -04:00
mmcwilliams ddf89cf6aa Start intval logic in module 2017-08-29 08:23:52 -04:00
mmcwilliams e264dc8343 Ignore generated .sh 2017-08-29 08:23:32 -04:00
mmcwilliams acabe0e80a Add dev script for incorporating process env variables 2017-08-29 08:23:18 -04:00
mmcwilliams ef514f7b0a Install jq as a dep for json manipulation in bash 2017-08-29 08:17:29 -04:00
mmcwilliams 399b623db4 Only use a 5 gzip 2017-08-29 07:35:23 -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 9902702f84 Caught misnamed files from original project 2017-08-22 00:38:53 -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 aca94c1ec9 Remove old clearPins function 2017-08-21 23:55:38 -04:00
mmcwilliams e77db95684 Require intval module at correct path 2017-08-21 23:54:38 -04:00
mmcwilliams 16cf29adbb Create an intval library for all the gpio logic 2017-08-21 23:52:27 -04:00
mmcwilliams 07d73d74bc Check for actual prop index and compare 2017-08-21 23:45:56 -04:00
mmcwilliams e7347af656 Create wifi characteristic to be added to ble services 2017-08-21 23:41:27 -04:00
mmcwilliams af40a9f015 Don't use /var/node 2017-08-21 23:14:35 -04:00
mmcwilliams 97b7940a54 Update based on failed tests 2017-08-21 23:01:08 -04:00
mmcwilliams d0d9faf131 Install node cron
To manage LONG term animation jobs
2017-08-21 23:00:30 -04:00
mmcwilliams 6716be882b Convert initial server code to intval3 basic structure 2017-08-21 22:59:44 -04:00
mmcwilliams ccb62296a5 Hardcode bluetooth characteristics ids 2017-08-21 22:58:18 -04:00
mmcwilliams 9707d099da App index file placeholder 2017-08-21 22:49:35 -04:00
mmcwilliams 3057f95e97 Remove detritus from file this is derived from 2017-08-21 22:48:03 -04:00
mmcwilliams 782484b7e9 Install winston for logging
Use winston to manage log structure and to make it easy to redirect
logs to different files
2017-08-21 21:23:48 -04:00
mmcwilliams 3f9e2853b0 Start project with blootstrap (pre publishing) 2017-08-21 21:11:07 -04:00