Commit Graph

42 Commits

Author SHA1 Message Date
mmcwilliams d3a7a97c78 Wifi module test. Use wpa_passphrase to generate a safe password hash 2017-12-31 20:55:54 -05:00
mmcw-dev 19e6511559 Update tests to use latest api 2017-10-21 11:49:29 -04:00
mmcw-dev 186b8324d1 Manage state from the webapp. Build all features there before mobile. 2017-10-21 11:46:06 -04:00
mmcw-dev 3266a4ca14 Test backwards timed frames. 2017-10-20 20:55:09 -04:00
mmcw-dev 4e1a3783f0 Test backwards frames 2017-10-20 20:43:54 -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
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 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
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 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
mmcwilliams bde21e9ac7 Test setting output pin high 2017-09-23 17:56:13 -04:00
mmcwilliams f419bcd36e Test microswitch on pin 6 2017-09-23 08:56:29 -04:00
mmcwilliams 31a5b315bd Try out microswitch logic 2017-09-23 08:53:48 -04:00
mmcwilliams aaef150f8a Begin microswitch test logic 2017-09-22 00:29:31 -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 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 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