Commit graph

19 commits

Author SHA1 Message Date
jakeg00dwin
3caa74f642 Added the needed defines for the high and low hysteresis points. 2024-10-18 21:43:04 -07:00
jakeg00dwin
156dfb6e09 changed to do ZCD inside the main loop. 2024-09-24 16:56:03 -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
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
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
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
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
b6bc117abf Updated load documentation and added new define for hysteresis 2024-09-23 11:53:04 -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
53057d9ef0 Changed the magic numbers to using defines; also changed LOWTHRESH to be 900. 2024-09-20 18:19:48 -07:00
jakeg00dwin
d22813ad3e Initial Commit of Existing code 2024-09-18 12:48:01 -07:00