Commit Graph

33 Commits

Author SHA1 Message Date
jakeg00dwin 156dfb6e09 changed to do ZCD inside the main loop. 2024-09-24 16:56:03 -07:00
jakeg00dwin f55dd8165a MPLABX 2024-09-24 16:55:50 -07:00
jakeg00dwin 37c38bf25d white space 2024-09-24 16:14:43 -07:00
jakeg00dwin 32ec258b67 Put the define in the `config.h` file and conditionally defined it in the `load.h` file. 2024-09-23 13:44:02 -07:00
jakeg00dwin 4e3893156d MPLABX 2024-09-23 13:15:38 -07:00
jakeg00dwin cb88baa7bb Re-factored out code into setup(). Also added tests for the disabled pins. 2024-09-23 13:12:53 -07:00
jakeg00dwin 1aca4d7876 Added function that allows a "soft" reset of the disabled pins. 2024-09-23 13:12:31 -07:00
jakeg00dwin 1b615155ff made helper functions private in scope. 2024-09-23 12:58:10 -07:00
jakeg00dwin 3b9845487c Updated `Load_HandleLoadPortB()` to pass new tests. 2024-09-23 12:57:21 -07:00
jakeg00dwin bd2f396bac removed tests for helper functions(no longer needed, tested via behavior of calling function). 2024-09-23 12:57:04 -07:00
jakeg00dwin 7ca25f5177 Updated tests for `Load_HandleLoadPortB()` 2024-09-23 12:53:35 -07:00
jakeg00dwin e03a78a17b updated `Load_HandleLoadPortA()` function to pass new tests. 2024-09-23 12:49:18 -07:00
jakeg00dwin 31e225bacf updated documentation 2024-09-23 12:43:33 -07:00
jakeg00dwin b39e1f3de8 Added detailed tests for the behavior of the porta load handler function. 2024-09-23 12:43:24 -07:00
jakeg00dwin 28ac695a26 marked helper function as static/private. 2024-09-23 12:14:51 -07:00
jakeg00dwin 3f1da7ff09 extracted duplicate code into helper function. 2024-09-23 12:14:10 -07:00
jakeg00dwin 6696a45a80 Added missing test for the PORTB load handler function. 2024-09-23 12:08:54 -07:00
jakeg00dwin 6990d2183e Updated to reflect the new function signiture 2024-09-23 12:04:55 -07:00
jakeg00dwin e3b42aeba9 renamed `valid_load()` --> `is_valid_load()` 2024-09-23 12:04:44 -07:00
jakeg00dwin 0ca16b207b wrote code to pass new tests. 2024-09-23 12:02:43 -07:00
jakeg00dwin fd6daaf02f Added tests for the `is_below_target()` function. 2024-09-23 12:01:34 -07:00
jakeg00dwin 17f2df7d9d removed now uneeded roadmap section. 2024-09-23 11:53:12 -07:00
jakeg00dwin b6bc117abf Updated load documentation and added new define for hysteresis 2024-09-23 11:53:04 -07:00
jakeg00dwin b884517586 Added tests for the `valid_load` function 2024-09-20 18:42:35 -07:00
jakeg00dwin 861c5959d9 Added documentation comments. Also removed unused function signiture. 2024-09-20 18:34:08 -07:00
jakeg00dwin 0f3d3b4538 Added the include statment for the integer types. 2024-09-20 18:26:01 -07:00
jakeg00dwin ec1e4957e5 Added call to set the EN pins to high after the 2.5s delay. 2024-09-20 18:25:42 -07:00
jakeg00dwin ecb306a7ec Added the cache as somethign to ignore. 2024-09-20 18:19:58 -07:00
jakeg00dwin 53057d9ef0 Changed the magic numbers to using defines; also changed `LOWTHRESH` to be 900. 2024-09-20 18:19:48 -07:00
jakeg00dwin e11816bd9b commit of formattting 2024-09-18 12:48:41 -07:00
jakeg00dwin 3224b8b9ab project name update 2024-09-18 12:48:30 -07:00
jakeg00dwin d22813ad3e Initial Commit of Existing code 2024-09-18 12:48:01 -07:00
Jake Goodwin 0e16acc125 Initial commit 2024-09-18 19:21:39 +00:00