Commit Graph

407 Commits

Author SHA1 Message Date
mmcw-dev ca8f6b2be9 Logging when frames restart. I am still screwing up. 2017-10-20 20:25:45 -04:00
mmcw-dev 243f45c836 Harden the logic which allows exposures at arbitrary exposure times. A "pause" variable has been added to the frame state that tracks when the frame is intentionally paused, preventing the premature pausing of a single frame. 2017-10-20 20:19:29 -04:00
mmcw-dev ef77ecce83 Log microswitch watch function because frames are being stopped prematurely 2017-10-20 20:10:38 -04:00
mmcw-dev 4d16ab8921 Confarnit! Caught the same error in another place, was referencing a variable to an undefined variable. 2017-10-20 20:08:43 -04:00
mmcw-dev 6f73790f5a Was using undefined variable. Silly me. 2017-10-20 20:05:51 -04:00
mmcw-dev 736a0c858b Log variables when pausing frames. 2017-10-20 19:58:16 -04:00
mmcw-dev d511ecdfbe If statements were eating the frame continuance step. This has been altered by using 0 as the default value for arbitrary exposure frames. 2017-10-20 19:53:57 -04:00
mmcw-dev 43213cc6ce Match exposure time to intval2 logic. Try a 5 second exposure time. 2017-10-20 19:44:58 -04:00
mmcw-dev 16f8675339 OK backwards microswitch logic is not sound. Please revisit. 2017-10-20 19:38:26 -04:00
mmcw-dev 7e989eeadf Add beginnings of the arbitrary exposure time logic. Test with /tests/index.js file 2017-10-20 19:36:23 -04:00
mmcwilliams 429441137e Remove voltage step-up chips and add a voltage regulator for regulating 5v from a 12v source 2017-10-20 13:59:19 -04:00
mmcwilliams 7d9377e7ea Start fleshing out API for web/mobile 2017-10-20 13:58:01 -04:00
mmcw-dev 2a08c64878 Stop immediately 2017-10-19 22:13:34 -04:00
mmcw-dev b7dd9e4fa1 Was not actually calling intval._stop(). How embarassing? 2017-10-19 22:03:13 -04:00
mmcw-dev 0b47713c58 Stop resetting frame.start to 0 2017-10-19 21:59:38 -04:00
mmcw-dev 6218d8d585 Refactor intval library to use object. The nature of the GPIO module in use breaks references to this 2017-10-19 21:52:13 -04:00
mmcw-dev 15d9225c04 Log error on uncaught exception 2017-10-19 21:42:52 -04:00
mmcw-dev 4818b44abf Test frame (and see why release switch is causing a hard exit) 2017-10-19 21:40:24 -04:00
mmcw-dev 53d50e715c No pins exit message 2017-10-19 21:34:14 -04:00
mmcw-dev e27add8da7 Refactor releaseWatch to use a seperate function to determine close state for the release switch 2017-10-19 21:30:07 -04:00
mmcw-dev 2b06eb3b3c Release pin is crashing lib 2017-10-19 21:24:20 -04:00
mmcw-dev cb407b5057 Switched pins for micro and release in the intval lib 2017-10-19 21:21:41 -04:00
mmcw-dev 9d665437be Motor works! forward and backwards! lib intval does not, however 2017-10-19 21:19:26 -04:00
mmcw-dev 1abc4ec702 run backwards 2017-10-19 20:26:37 -04:00
mmcw-dev 56680db1be Run motor while watching microswitch 2017-10-19 20:21:14 -04:00
mmcw-dev 5097ed87ea Only test microswitch 2017-10-19 19:22:21 -04:00
mmcw-dev 988cf6a786 Test microswitch now too 2017-10-19 19:12:15 -04:00
mmcw-dev 0e4cdb2778 Only test release for now 2017-10-19 19:04:14 -04:00
mmcw-dev b6a29f0e9e Log all variables 2017-10-19 17:57:28 -04:00
Matt 448bbd66eb Merge pull request #1 from sixteenmillimeter/master
Merge latest changes on master branch to dev branch
2017-09-28 13:30:52 -04:00
Matt 0e134cfa6a Reference correct project in nginx.conf
Was also bugging me.
2017-09-28 13:29:15 -04:00
Matt e876359be8 Clean up whitespace in nginx.conf
It was bugging me
2017-09-28 13:28:14 -04:00
mmcwilliams 86ef664cd3 Update intval library documentation 2017-09-25 23:27:04 -04:00
mmcwilliams ceb961ebd6 Add unexport function to onoffsim GPIO object 2017-09-25 23:26:47 -04:00
mmcwilliams 495e59eae2 Use log library in intval module 2017-09-25 23:26:13 -04:00
mmcwilliams 82aa857ffd Use log library instead of ipc log 2017-09-25 23:25:54 -04:00
mmcwilliams 7f48045bbd Log with appropriate tagging 2017-09-25 23:25:34 -04:00
mmcwilliams a5b4ef2149 Import mscript library from mcopy
Refactored into es6 style, intention is to extend it to accept delays
in looping logic
2017-09-25 23:25:15 -04:00
mmcwilliams 4ec3cf422b Document intval lib logic for microswitch watcher 2017-09-24 22:28:46 -04:00
mmcwilliams 50a335af95 Add log library and microswitch logic 2017-09-24 22:28:26 -04:00
mmcwilliams a9f2040f3f Squash errors on connect (for dev) 2017-09-24 22:28:06 -04:00
mmcwilliams 1b51b50185 Add log library 2017-09-24 22:27:53 -04:00
mmcwilliams 50262facc2 Intval 3 board prototype
Design roughed in fritzing, the pdf pulled into photoshop and hand
routed.
2017-09-24 22:20:26 -04:00
mmcwilliams 26f3ed4a11 Set bwd to low 2017-09-24 16:05:35 -04:00
mmcwilliams ef130b3939 Set motor pins to low on SIGINT 2017-09-24 15:06:04 -04:00
mmcwilliams 31deef9ada Still reading 1.6V on GPIO pin set high
Possibly damaged pin 18
2017-09-23 19:06:32 -04:00
mmcwilliams 8f8785c4fb No idea why I believed that comment
Trying gpis 18
2017-09-23 19:02:48 -04:00
mmcwilliams d7671b15ab Using pin 33 instead of 13
Per this thread
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=71247
2017-09-23 18:59:24 -04:00
mmcwilliams 68e49e2e22 Test all together, watch and writeSync 2017-09-23 17:59:55 -04:00
mmcwilliams ef1a793a08 WriteSync, not set 2017-09-23 17:58:16 -04:00