Commit graph

100 commits

Author SHA1 Message Date
jakeg00dwin
33ddb0a4e9 Added a rampdown section to the speed. 2025-02-24 17:31:30 -08:00
jakeg00dwin
87b1cb9acd removed the duplicate bit shifting in favor of single operation in function. 2025-02-23 12:29:52 -08:00
b64c306250 Merge branch 'dev' 2025-02-23 11:54:34 -08:00
deaa59f5a2 Changed names for save locations. 2025-02-23 11:53:23 -08:00
91ee864d23 Removed the use of the tested ADC interface 2025-02-23 11:53:14 -08:00
78fdf54421 Adjusted value for more accurate input. 2025-02-23 10:58:42 -08:00
c2ce883adb Mocking tests now passing after fixing param name. 2025-02-23 10:58:07 -08:00
60b83865cd Added mock test runner function to menu. 2025-02-23 10:56:48 -08:00
82c16a7ddc Adjusted function signiture for ADC_ReadValue() 2025-02-23 10:56:38 -08:00
33b70d3283 Included the ADC module in main's linked libs 2025-02-23 10:56:13 -08:00
de463a3469 Cleaned up ADC module 2025-02-23 10:56:00 -08:00
2add13a745 Modified ADC mock module to have the new function signiture for the ADC_ReadValue() 2025-02-23 10:55:46 -08:00
6736e30dd1 Added extra testing/assert line for the returned error value. 2025-02-23 10:34:23 -08:00
c07fc415bf Added code to pass the ADC timeout feature 2025-02-23 10:32:22 -08:00
58ab3c12eb Added test for the ADC reading timeout feature 2025-02-23 10:32:13 -08:00
fc3d0d11a5 removed now uneeded functions. 2025-02-23 10:03:21 -08:00
90891545d1 Added code to pass the ADC_Disable() function. 2025-02-23 10:00:38 -08:00
352ee9e6a8 Added test for ADC_Disable() 2025-02-23 09:59:52 -08:00
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
a00e176675 Added testing for the pin number and resolving it from a adc channel input. 2025-02-23 09:50:09 -08:00
6167089a28 Added onto init tests. 2025-02-22 22:00:44 -08:00
b103fe2b97 removed error line, causes issues with LSP. 2025-02-22 21:31:52 -08:00
jakeg00dwin
b377eab7c0 Updated with comments on prescaler usage for F_CPU 2025-02-20 16:05:23 -08:00
jakeg00dwin
43d15247ad Updated version number from changes. 2025-02-20 15:55:34 -08:00
jakeg00dwin
a29e16963f Merge branch 'dev' 2025-02-20 15:50:00 -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
4d229a973c updated version number 2025-02-18 19:30:01 -08:00
jakeg00dwin
cc57692a1d Updated the motor pulse define, too fast of a pulse doesn't wakeup the motor driver. 2025-02-18 19:29:30 -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
b21a8fbecf white space 2025-02-18 15:55:04 -08:00
3f56d38e90 whitespace 2025-02-18 15:55:00 -08:00
d85616604f Added define for the correct header when using LSP 2025-02-17 18:33:51 -08:00
28a5c50b23 Updated date 2025-02-17 18:33:32 -08:00
d455f80759 Updated date/username 2025-02-17 18:33:20 -08:00
3aaf0a066e got ADC to pass current tests. 2025-02-16 17:34:20 -08:00
a5bb712789 Added expectations for setup.
- Commented out attiny404 expectations.
2025-02-16 15:02:19 -08:00
9228d0703f Added attiny13a adc expectations. 2025-02-16 14:42:08 -08:00
39ce0af7fb Added the missing test dir for SuperLoop 2025-02-16 10:30:39 -08:00
3f2eb09427 Updated version number 0.2.0 --> 0.2.1
Commiting the version changes number.
2025-02-16 10:29:22 -08:00
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
a3d7307d96 Added def/define in main CMakeLists.txt
+ added def for UNIT_TESTING
2025-02-16 10:27:21 -08:00
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