Commit Graph

28 Commits

Author SHA1 Message Date
mmcwilliams 1d2cc757ec More explicitly watch for undefined env variables. 2020-07-25 11:56:43 -04:00
mmcwilliams 7d779bc5c9 Compile ble module with typescript. Add globals file to prevent errors. 2020-05-19 17:31:55 -04:00
mmcwilliams 31ad5286de Set sequence state to false when done. 2020-05-19 17:06:36 -04:00
mmcwilliams 94e6982adb Remove excessive log point to make them less noisy. 2020-01-14 11:59:12 -05:00
mmcwilliams 07229c7925 Refactored wifi and ble into typescript and converted logic to async/await for most methods. Compiles without errors ATM. 2019-11-26 22:10:59 -05:00
mmcwilliams de481ee185 Add bleno types. 2019-11-26 21:16:13 -05:00
mmcwilliams 8986014a82 Refactor wifi lib into Typescript. Only used one "any" on a custom module require that I need to revisit. (log). Yeeha! 2019-11-26 11:41:15 -05:00
mmcwilliams 9d1163926f Copy ble and wifi modules as .ts source. Begin refactor into typescript as is before addressing bug issues. 2019-11-26 10:43:54 -05:00
mmcwilliams 5611ea338a Prevent frame from running if _state.frame.active is true. 2019-10-31 00:43:44 -04:00
mmcwilliams 7ac2e7ed67 Complete the frame request 2019-10-31 00:16:25 -04:00
mmcwilliams bdee0c1431 Use correct method name in log statement 2019-10-30 23:58:52 -04:00
mmcwilliams 6ac19c2dd8 Make a new public sequence.stop method to prevent double logging 2019-10-30 23:58:06 -04:00
mmcwilliams 074d70510f No. I was wrong. Too much of a rewrite 2019-10-30 23:53:11 -04:00
mmcwilliams 3667c8dd36 Pull delay setting out of the _state.frame object into the _state object. Ugh this is such a mess. 2019-10-30 23:47:34 -04:00
mmcwilliams d566c2160b Properly use delay from intval object. 2019-10-30 23:36:04 -04:00
mmcwilliams eed8905f29 Need to bind intval this to callback within promise. 2019-10-30 23:29:32 -04:00
mmcwilliams 5b0d120275 Frame must return a promise for sequence to work. For any of it, really. 2019-10-30 23:27:09 -04:00
mmcwilliams 0f57c1c630 When I said I had made the last boneheaded error or the night I was lying. Need to set sequence.active = true at beginning of the sequence 2019-10-30 23:19:50 -04:00
mmcwilliams 09431a6a05 Sequence is not running on prototype 2019-10-30 23:15:40 -04:00
mmcwilliams a205f07bab State object was re-structured. Watch() callbacks need to be bound to current object 2019-10-30 22:49:15 -04:00
mmcwilliams 6ae25134a2 Use correct require method for node-persist (blegh) 2019-10-30 22:43:18 -04:00
mmcwilliams 26116303cc Ready to try re-write in prototype 2019-10-30 22:32:52 -04:00
mmcwilliams 26655ea0a7 re-write progress, changing platforms 2019-10-16 10:58:46 -04:00
mmcwilliams 8974c8ddcc Properly export and require delay module in sequencer 2019-10-11 18:24:41 -04:00
mmcwilliams d90dfc4a6c Sequencer converted into a singleton class. 2019-10-11 18:15:32 -04:00
mmcwilliams 70f5834934 Add a tsconfig that works (from mcopy). 2019-10-11 17:55:11 -04:00
mmcwilliams 591641774a Compile sequence module as is. 2019-10-11 17:53:41 -04:00
mmcwilliams f1ab4ca1af Backup sequence and create typescript source for it 2019-10-11 17:36:49 -04:00