Commit Graph

92 Commits

Author SHA1 Message Date
Jake Goodwin deaa59f5a2 Changed names for save locations. 2025-02-23 11:53:23 -08:00
Jake Goodwin 91ee864d23 Removed the use of the tested ADC interface 2025-02-23 11:53:14 -08:00
Jake Goodwin 78fdf54421 Adjusted value for more accurate input. 2025-02-23 10:58:42 -08:00
Jake Goodwin c2ce883adb Mocking tests now passing after fixing param name. 2025-02-23 10:58:07 -08:00
Jake Goodwin 60b83865cd Added mock test runner function to menu. 2025-02-23 10:56:48 -08:00
Jake Goodwin 82c16a7ddc Adjusted function signiture for `ADC_ReadValue()` 2025-02-23 10:56:38 -08:00
Jake Goodwin 33b70d3283 Included the ADC module in main's linked libs 2025-02-23 10:56:13 -08:00
Jake Goodwin de463a3469 Cleaned up ADC module 2025-02-23 10:56:00 -08:00
Jake Goodwin 2add13a745 Modified ADC mock module to have the new function signiture for the `ADC_ReadValue()` 2025-02-23 10:55:46 -08:00
Jake Goodwin 6736e30dd1 Added extra testing/assert line for the returned error value. 2025-02-23 10:34:23 -08:00
Jake Goodwin c07fc415bf Added code to pass the ADC timeout feature 2025-02-23 10:32:22 -08:00
Jake Goodwin 58ab3c12eb Added test for the ADC reading timeout feature 2025-02-23 10:32:13 -08:00
Jake Goodwin fc3d0d11a5 removed now uneeded functions. 2025-02-23 10:03:21 -08:00
Jake Goodwin 90891545d1 Added code to pass the `ADC_Disable()` function. 2025-02-23 10:00:38 -08:00
Jake Goodwin 352ee9e6a8 Added test for ADC_Disable() 2025-02-23 09:59:52 -08:00
Jake Goodwin 969b852cb3 Added test for adc enable.
+ code for testing ADC enable.
+ code for passing ADC enable function test.
2025-02-23 09:58:30 -08:00
Jake Goodwin a00e176675 Added testing for the pin number and resolving it from a adc channel input. 2025-02-23 09:50:09 -08:00
Jake Goodwin 6167089a28 Added onto init tests. 2025-02-22 22:00:44 -08:00
Jake Goodwin b103fe2b97 removed error line, causes issues with LSP. 2025-02-22 21:31:52 -08:00
jakeg00dwin d3d69ca180 Added linux include dir for AVR. 2025-02-20 15:46:12 -08:00
jakeg00dwin 05b6de17d0 Added new F_CPU define. 2025-02-20 15:45:55 -08:00
jakeg00dwin b2a3dcbed4 Added line for inclusion of AVR stuff on linux machines. 2025-02-20 15:45:44 -08:00
jakeg00dwin 49d8ca037b Adjusted file to use F_CPU after DIV8 and allow speed control during movement. 2025-02-20 15:45:29 -08:00
jakeg00dwin c2ed2cead0 Added fuse flashing commands for default 9.6MHz 2025-02-20 15:44:55 -08:00
jakeg00dwin ba4b6f9f70 Updated version number. 2025-02-18 16:42:35 -08:00
jakeg00dwin 4dcfb1ea07 Setup speed control 2025-02-18 16:41:53 -08:00
jakeg00dwin 4adeec5219 Commented out unused link libs. 2025-02-18 16:41:42 -08:00
jakeg00dwin 17bd1a4e38 Added a define for the motor pulse timing, 1uS and 5uS both work well. 2025-02-18 16:41:31 -08:00
Jake Goodwin b21a8fbecf white space 2025-02-18 15:55:04 -08:00
Jake Goodwin 3f56d38e90 whitespace 2025-02-18 15:55:00 -08:00
Jake Goodwin d85616604f Added define for the correct header when using LSP 2025-02-17 18:33:51 -08:00
Jake Goodwin 28a5c50b23 Updated date 2025-02-17 18:33:32 -08:00
Jake Goodwin d455f80759 Updated date/username 2025-02-17 18:33:20 -08:00
Jake Goodwin 3aaf0a066e got ADC to pass current tests. 2025-02-16 17:34:20 -08:00
Jake Goodwin a5bb712789 Added expectations for setup.
- Commented out attiny404 expectations.
2025-02-16 15:02:19 -08:00
Jake Goodwin 9228d0703f Added attiny13a adc expectations. 2025-02-16 14:42:08 -08:00
Jake Goodwin 39ce0af7fb Added the missing test dir for SuperLoop 2025-02-16 10:30:39 -08:00
Jake Goodwin 3f2eb09427 Updated version number 0.2.0 --> 0.2.1
Commiting the version changes number.
2025-02-16 10:29:22 -08:00
Jake Goodwin de5cd13459 Added the template test files I made before.
+Mocking of ADC.
+Mocking of timer
+Mocking of Register editing.
+tests for all the above
2025-02-16 10:28:35 -08:00
Jake Goodwin a3d7307d96 Added def/define in main CMakeLists.txt
+ added def for UNIT_TESTING
2025-02-16 10:27:21 -08:00
Jake Goodwin 22c191363e Added mocks
+ ADC mocking.
+ Timer.
+ Register Editing.
2025-02-16 10:13:45 -08:00
jakeg00dwin b96945a2a5 updated version number and documentation 2025-02-14 14:12:03 -08:00
jakeg00dwin 2d65048f8e Added minimum acceptable speed. 2025-02-14 14:09:33 -08:00
jakeg00dwin bf39006dea Added the code to allow 0%-100% speed. 2025-02-14 14:06:52 -08:00
jakeg00dwin 71ff471fde changed function signiture to return uint8 type instead of uint16. 2025-02-14 14:02:13 -08:00
jakeg00dwin 724237147f changed `ReadADC()` into `ReadFader()`. Added `ReadSpeed()` function and documentation. 2025-02-14 13:57:52 -08:00
jakeg00dwin a88fae412e Updated to version 0.1.2 2025-02-14 13:05:02 -08:00
jakeg00dwin 91edc72f38 updated menu and setup correct make commands. 2025-02-14 13:04:22 -08:00
jakeg00dwin 0ad78b2671 styling changes 2025-02-14 13:04:06 -08:00
jakeg00dwin 2c78ea4130 Fixed size command options 2025-02-14 13:03:54 -08:00