Commit Graph

570 Commits

Author SHA1 Message Date
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
mmcwilliams 4aadc5a9df Use callback model for bluetooth write events. 2017-12-12 13:09:13 -05:00
mmcwilliams f74465cbbc utf8 not uft8. I am a freaking dumbass. 2017-12-12 11:57:04 -05:00
mmcwilliams 05a69e5512 Do not log getState data, but do log utf8 string and parsed object onWrite 2017-12-12 11:54:43 -05:00
mmcwilliams 5f61865366 No need to log state 2017-12-12 11:38:48 -05:00
mmcwilliams 3e9f560db0 intval.status() not intval.state. 2017-12-11 14:57:01 -05:00
mmcwilliams 76fcc95327 See what state is before sending 2017-12-11 14:47:05 -05:00
mmcwilliams 5f97c7a4de Pass back actual state object. 2017-12-11 14:44:27 -05:00
mmcwilliams 139c72caee ble needs to be constructed 2017-12-11 14:41:44 -05:00
mmcwilliams 1fef6d6925 Pass an intval.state object into ble lib 2017-12-11 14:38:46 -05:00
mmcwilliams f1a5ae5aff bluetooth on data event 2017-12-07 12:06:08 -05:00
mmcw-dev 395c60b8a2 Key_cap sizing improved 2017-12-06 23:13:49 -05:00
mmcw-dev 58f2ec885a Enlarge the panel mount column 2017-11-28 15:21:52 -05:00
mmcw-dev fb1273614c Example sequencer control with a bash script. 2017-11-28 15:20:56 -05:00
mmcwilliams 292dc2913c Do not watch locally 2017-11-23 09:53:04 -05:00
mmcwilliams a71deca9e3 INTBAL?????? 2017-11-23 09:52:49 -05:00
mmcwilliams 6ce6af3abe Log whether or not frame is part of a sequence. 2017-11-23 09:46:18 -05:00
mmcwilliams 6ee022a2a4 Had not declared query const properly. Fixed. 2017-11-23 09:35:47 -05:00
mmcwilliams 64389ab954 Add feature to list all frames and another to find others with a WHERE statement. 2017-11-23 09:34:24 -05:00
mmcwilliams cd3f79a3a0 Use an integer to track direction, boolean is not an sqlite3 datatype. 2017-11-23 09:29:44 -05:00
mmcwilliams e558b0387d State.frame.current, not state.current. 2017-11-23 09:23:05 -05:00
mmcwilliams 320d3fe02f Spell exposure right, ya dingus. 2017-11-23 09:21:56 -05:00
mmcwilliams bdac1aa50c Need node-gyp to build sqlite3. 2017-11-23 09:21:43 -05:00
mmcwilliams 73a65d9021 Add sqlite3 and table logging functionality. Track all frames all the time. 2017-11-23 09:19:43 -05:00
mmcwilliams 37326534ed Accidentally broke web while testing, add back. 2017-11-23 08:59:49 -05:00
mmcwilliams 9c5d429051 Use sequence module and begin fashioning requests around it. 2017-11-22 20:26:34 -05:00
mmcwilliams a79d13d382 Add sequence module and db module placeholder 2017-11-22 20:26:10 -05:00
mmcwilliams f428c72bdb Remove sequencer feature, too similar to the mcopy feature and not needed in a standalone intervalometer. 2017-11-22 20:05:19 -05:00
mmcwilliams e6b0329aa1 Add codemirror dependencies. 2017-11-22 19:49:06 -05:00
mmcwilliams 3aae58c5d9 Add mscript GUI. 2017-11-22 19:48:45 -05:00
mmcwilliams e1e272b92c Sorted out web/mobile startup. Working on ble features. 2017-11-22 14:32:13 -05:00
mmcwilliams 57aa86d419 Install sqlite and squel for storing data embedded. 2017-11-22 14:31:03 -05:00
mmcwilliams a7411644c6 Move svg icons into css file. 2017-11-22 14:26:43 -05:00
mmcwilliams 0c267fa9fb Attach functions to the window option so that cordova does not break. 2017-11-22 12:45:52 -05:00
mmcwilliams 87473cd403 Install cordova plugins 2017-11-22 12:45:13 -05:00
mmcwilliams f2b2291825 Use version 3.0.0 for starting point of hardware project. 2017-11-22 12:44:25 -05:00
mmcwilliams 4ccab7e933 Establish cordova app in /app directory. Will do development with testflight and using an adhoc profile for beta testers. 2017-11-22 12:25:06 -05:00
mmcwilliams e7c3cb6d47 Web and mobile have their own files now. Determine presence of cordova when in mobile app. 2017-11-22 12:10:33 -05:00
mmcwilliams 176fd37995 /app/www not /www 2017-11-22 12:05:02 -05:00
mmcwilliams 26ea43cc79 Separate intval.web.js into its own file. 2017-11-22 12:04:45 -05:00
mmcwilliams 2593d803ef Use a static file server config that will work on web and mobile. 2017-11-22 11:58:02 -05:00
mmcwilliams 6ce4241346 Update scripts to match recent tests. 2017-11-22 11:57:40 -05:00
mmcwilliams 86930bb9c2 Use static files but dont use gzip (for now). 2017-11-22 11:50:51 -05:00
mmcwilliams f82c487416 Use nginx as the web server, frontending node. 2017-11-22 11:45:27 -05:00
mmcwilliams 3d9985a372 Set counter UI element. Make re-usable for app. 2017-11-22 11:38:05 -05:00
mmcwilliams fe492eca6f Fetch uses body, not data. 2017-11-22 11:34:51 -05:00
mmcwilliams fdc0f41725 Fetch body is empty, see why. 2017-11-22 11:33:20 -05:00