Commit Graph

59 Commits

Author SHA1 Message Date
jakeg00dwin 07afbf4def Updated documentation comments 2024-09-05 13:29:26 -07:00
jakeg00dwin e94eed5b30 MPLAbX 2024-09-05 13:29:17 -07:00
jakeg00dwin f578a4ec28 Included the ADC and ZCD headers. Also added function for using the AC relay. 2024-09-05 13:29:07 -07:00
jakeg00dwin 4ce5eb7cde Linked with ADC and ZCD 2024-09-05 13:28:45 -07:00
jakeg00dwin 3a97338730 Confirmed that Relay2 setup is correct. 2024-09-03 19:12:15 -07:00
jakeg00dwin 5409058a9a Added the `volatile` keyword 2024-09-03 19:08:01 -07:00
jakeg00dwin e2a9101d94 Refactored out the bitshifts for the defines. 2024-09-03 19:07:48 -07:00
jakeg00dwin 25e1e647e8 Added test to ensure the relay is activated/deactivated for timing testing. 2024-09-03 18:48:52 -07:00
jakeg00dwin aa61a0821e MPLABX changes 2024-09-03 16:53:44 -07:00
jakeg00dwin 2fe53545a5 Changed to use the defines for only relay 0 2024-09-03 16:53:34 -07:00
jakeg00dwin 430203880f Added note about changes in MPLABX config's power for the pickit5. 2024-09-03 16:52:49 -07:00
jakeg00dwin bf62e8ad15 Added Enable into the tests. 2024-09-03 16:45:57 -07:00
jakeg00dwin 9e41bdc578 Added the setup of the DDR for the relay. 2024-09-03 16:45:45 -07:00
jakeg00dwin e3cd70448b Added function for setting up relays and called it in the `main()` 2024-09-03 16:42:02 -07:00
jakeg00dwin d1091fd73d Adding the submodule `Enable` into Cmake file. 2024-09-03 16:41:38 -07:00
jakeg00dwin 328b35d81e Changed `Timer_Disable()` to `Timer_Stop()` for consistency. 2024-09-03 16:41:24 -07:00
jakeg00dwin 8c75dee9e0 Changed to using the volatile keyword for the port pointers. 2024-09-03 16:40:54 -07:00
jakeg00dwin 3cee05065a Added `Enable` module. 2024-09-03 16:40:40 -07:00
jakeg00dwin 1396db590f MPLABX added existing files 2024-09-03 16:40:01 -07:00
jakeg00dwin 85d5cebb5a Auto formatting appied to the newly added modules. 2024-09-02 14:08:03 -07:00
jakeg00dwin 5e165ae9dc Added the subdir inclusion for zcd tests. 2024-09-02 14:07:48 -07:00
jakeg00dwin 311b0787d9 Added test groups to alltests runner 2024-09-02 14:07:38 -07:00
jakeg00dwin 63e4ec1ec1 Added tests groups to mock tests 2024-09-02 14:07:29 -07:00
jakeg00dwin 8bec415466 Added zcd module's tests 2024-09-02 14:07:20 -07:00
jakeg00dwin 32b2096ab8 Added links for the mock tests. 2024-09-02 13:55:10 -07:00
jakeg00dwin 5db0f3209a Added mocks module for the ADC 2024-09-02 13:52:56 -07:00
jakeg00dwin 5231d55d8e Added tests for the newly added modules. 2024-09-02 13:52:47 -07:00
jakeg00dwin 506f5a889c removed the unused usart module 2024-09-02 13:52:38 -07:00
jakeg00dwin 2a3ea0280a Added needed modules from the HIGH repo 2024-09-02 13:52:30 -07:00
Jake Goodwin 97e4664adb Fixed several logic bugs found during tdd 2024-09-02 13:33:51 -07:00
Jake Goodwin 32c093d00c Included conditional link for mocked timer 2024-09-02 13:33:41 -07:00
Jake Goodwin 34602643c2 cleaned up interfaces for mocking 2024-09-02 13:33:30 -07:00
Jake Goodwin fc715011b8 Added mocking module for timer
The mock of the timer module uses the cpputest mocking functions.
2024-09-02 13:33:08 -07:00
jakeg00dwin 255d54b90e whitespace 2024-09-02 11:34:25 -07:00
jakeg00dwin 12ec702afb Added relays to the linked libs 2024-09-02 11:34:21 -07:00
jakeg00dwin fe83bc479a Updated with defines of relay pins 2024-09-02 11:34:13 -07:00
jakeg00dwin d558b3552c updated relays by linking with the timer module. 2024-09-01 16:29:10 -07:00
jakeg00dwin 4118e68268 removed commented out code 2024-09-01 16:28:52 -07:00
jakeg00dwin 069ab127bf Wrote tests ensuring correct bit checking and then code to pass it for the reading of input. 2024-09-01 13:43:29 -07:00
jakeg00dwin 307ae22aa8 Made tests for reading state function more comperhensive. 2024-09-01 13:37:13 -07:00
jakeg00dwin 9c878f9e08 whitespace 2024-09-01 13:20:40 -07:00
jakeg00dwin 85e7f69c07 removed relay function prototype for toggling state. 2024-09-01 13:20:36 -07:00
jakeg00dwin fe20ad2fb0 Wrote tests and code for disabling relays 2024-09-01 13:18:46 -07:00
jakeg00dwin c440f48f0f Wrote tests and code for PCDisable and relay enable functions. 2024-09-01 13:14:34 -07:00
jakeg00dwin 36108f4108 Added comment details. 2024-09-01 12:49:45 -07:00
jakeg00dwin 7093957c33 whitespace 2024-09-01 12:49:37 -07:00
jakeg00dwin 6ceaedaec3 whitespace 2024-09-01 12:49:31 -07:00
jakeg00dwin f43a1cb662 Updated with function signitures 2024-09-01 12:49:24 -07:00
jakeg00dwin 2e7a4ffa38 Added in new module for Relays 2024-09-01 12:28:26 -07:00
jakeg00dwin bdca898b62 removed header include statment for ledcontroller 2024-09-01 12:27:07 -07:00