Commit Graph

516 Commits

Author SHA1 Message Date
mmcw-dev 9fe6bec132 Install rpio 2017-12-22 15:26:55 -05:00
mmcw-dev 30e1c52ab0 Remove extraneous DOM manipulation from the sequenceSuccess function 2017-12-21 00:17:19 -05:00
mmcw-dev fdc43fdc37 Get state after finishing sequence, to update UI 2017-12-21 00:15:55 -05:00
mmcw-dev 9e13e0fb96 Log state to see why there are false positives 2017-12-21 00:03:32 -05:00
mmcw-dev 782bf04714 Start and stop worked in web lib, but GUI didn't. This is a fix that shuts off the "sequence" button when sequence is stopped. 2017-12-20 23:59:36 -05:00
mmcw-dev 360998e9a0 Using periods instead of commas. Starting to get tired. 2017-12-20 23:52:58 -05:00
mmcw-dev 2545df2c38 Add events to the html and respective libraries, web, mobile and core 2017-12-20 23:49:51 -05:00
mmcw-dev e880e44a5c Control sequence with GUIs 2017-12-20 23:47:37 -05:00
mmcw-dev ccd87b4d7e Send a "started" object when sequence is started 2017-12-20 23:29:43 -05:00
mmcw-dev e1a54c10e0 Prevent sequence from starting if already started. Add an id to the sequence, for logging (though the doubling up should discontinue). 2017-12-20 23:29:08 -05:00
mmcw-dev 8333f451f8 Post sequence callbacks are not firing. Skip for now and just call back immediately 2017-12-20 22:39:20 -05:00
mmcw-dev 02aea27ff9 Log when sequences are started and stopped by release cable 2017-12-20 22:34:30 -05:00
mmcw-dev 0b48dc87b4 use the microdelay to prevent multiple frames 2017-12-20 22:30:48 -05:00
mmcw-dev c36c0ab598 Declare variables to pass into sequence.start() 2017-12-20 22:30:13 -05:00
mmcw-dev 386de6dc56 Add delay restify endpoint. 2017-12-20 22:15:40 -05:00
mmcw-dev a7bcb0a87b Combine sequence and intval functionality 2017-12-20 22:10:36 -05:00
mmcw-dev 19815dbb4d Log step sequence to keep track during tests. OFF BY ONE! OFF BY ONE! 2017-12-20 21:59:30 -05:00
mmcw-dev 11bf8b95f8 flag the start of a sequence and stop it. 2017-12-20 21:49:26 -05:00
mmcw-dev b1085cb77c Need to declare pins even during state restore failure. 2017-12-20 21:41:41 -05:00
mmcw-dev 64440f7c1c Set state if invalid. Hopefully it overwrites? 2017-12-20 21:39:17 -05:00
mmcw-dev ec156fc8b6 Log output of removing state directory 2017-12-20 21:34:00 -05:00
mmcw-dev b605f875bc Declare intval object variables before init function 2017-12-20 21:32:07 -05:00
mmcw-dev a039e8f616 Do NOT use maximum loop logic when steppign throuhg a sequence without a max loop 2017-12-20 21:26:59 -05:00
mmcw-dev 64b0244972 Store callback to invoke at the end of a sequence 2017-12-20 21:24:51 -05:00
mmcw-dev c7ed8bed3b Was returning sequence start, now calling and then returning 2017-12-20 21:12:40 -05:00
mmcw-dev 66ac78fee0 If state is malformed, quit and restart app 2017-12-20 21:03:57 -05:00
mmcw-dev dbf641ef69 See how sequence.stop is being called, using console.trace 2017-12-20 20:59:52 -05:00
mmcw-dev 0668d856be Errored out trying a stop function 2017-12-20 20:57:02 -05:00
mmcw-dev 573287384d Actually call next step when running a loop 2017-12-20 20:53:21 -05:00
mmcw-dev fc99b9ff06 Do not wait for sequence to finish to respond to /sequence request 2017-12-20 20:51:14 -05:00
mmcw-dev 0a3add86cb Only log stop function 2017-12-20 20:46:53 -05:00
mmcw-dev af28f14ecc Fix syntax error and update to latest node modules on ubuntu 2017-12-20 20:42:20 -05:00
mmcw-dev e6070465e5 Sequence logic ready for testing 2017-12-20 18:40:51 -05:00
mmcw-dev 2a2d71ec73 Begin designing a carriage and stand for the intval. 2017-12-15 09:01:46 -05:00
mmcwilliams 22d497b464 BLE features are working, minus the wifi feature. Good work today. 2017-12-13 18:40:14 -05:00
mmcwilliams 57efee6d7f os module needs to be required first 2017-12-13 18:35:59 -05:00
mmcwilliams 35feed7775 Require bleno AFTER unique name is applied (this was messing up) 2017-12-13 18:34:00 -05:00
mmcwilliams 6cabd0e926 Use a better device id 2017-12-13 18:31:59 -05:00
mmcwilliams 567b1bb55d Advertisement length error, try with char_id, not both ids 2017-12-13 18:25:02 -05:00
mmcwilliams 47c75f5ba9 Name and advertise properly 2017-12-13 18:22:32 -05:00
mmcwilliams e5207a8474 App supports controlling intval with bluetooth 2017-12-13 17:52:25 -05:00
mmcwilliams 52194e0b41 Set counter via ble 2017-12-13 17:27:42 -05:00
mmcwilliams 2818bd1180 Respect exposure settings. 2017-12-13 17:01:22 -05:00
mmcwilliams 6b65168f03 Obj not req 2017-12-13 16:25:23 -05:00
mmcwilliams 2a28b622f0 Set delay from ble 2017-12-13 16:22:22 -05:00
mmcwilliams 7fc84a3f14 Set exposure with bluetooth app 2017-12-13 16:04:24 -05:00
mmcwilliams ae03b97f96 Set direction with bluetooth, also resolve an unfortunate bug where I repeatedly spelled "undefined" as "udnefined" 2017-12-12 14:23:14 -05:00
mmcwilliams d8e6a2206e OK! Cannot pass data back during a write event, BUUUT can respond asynchronously, and state can be read immediately after? Or should I cache a response? More on this later. 2017-12-12 13:37:36 -05:00
mmcwilliams 601d0cf581 Send a buffer of a string, not the entire string. 2017-12-12 13:24:26 -05:00
mmcwilliams 9d95ffa483 Was trying to console.log an undefined string. 2017-12-12 13:14:20 -05:00