Commit Graph

32 Commits

Author SHA1 Message Date
Jake Goodwin 59086bd28b added another test 2023-09-11 22:44:01 -07:00
Jake Goodwin 6477248e3b cleaned up the defines 2023-09-11 22:43:56 -07:00
Jake Goodwin 604dc1ad60 fixed usage warning 2023-09-07 21:46:51 -07:00
Jake Goodwin b97b731bb9 restructured into a interface file and a driver file. 2023-09-07 21:46:42 -07:00
Jake Goodwin 1bc91feed8 reorganized a bit, starting to group tests 2023-09-07 21:10:41 -07:00
Jake Goodwin 755f8a96a2 added mock_assertions macro, might not function idk 2023-09-07 21:10:24 -07:00
Jake Goodwin 875ad2f30a removed stdio.h 2023-09-07 13:13:02 -07:00
Jake Goodwin c389c998dd removed print statments 2023-09-07 13:12:44 -07:00
Jake Goodwin 0c5fcf85ac added in recursion to the twi for TX 2023-09-06 23:00:10 -07:00
Jake Goodwin 530ea98b28 updated the code and corrected some mistakes 2023-09-06 22:56:24 -07:00
Jake Goodwin 8161e5c857 update with notes 2023-09-06 22:56:14 -07:00
Jake Goodwin c5fc7461e7 rewrote the twi setup and a test to handle the self test functionality of the IMU 2023-09-06 22:56:06 -07:00
Jake Goodwin 42853f1ca2 updated with currently failing test for the self-test on the gyro 2023-09-06 00:00:19 -07:00
Jake Goodwin 53990d1d3c updated register map and created new functions for preforming the mpu6050 selftest on the gyroscope 2023-09-06 00:00:05 -07:00
Jake Goodwin 89291840dd updated with the actual info now 2023-08-31 18:22:53 -07:00
Jake Goodwin 066e98dd2c updated comments 2023-08-31 18:22:46 -07:00
Jake Goodwin bd237b603b updated with test of updating the gyro and reading it 2023-08-31 18:09:47 -07:00
Jake Goodwin 48c566501e now have test coverage for the gyroscope reading over twi 2023-08-31 18:03:12 -07:00
Jake Goodwin 75a28027f5 fixed up issues with structures. Now exposed the gyro and accel structures 2023-08-31 17:54:50 -07:00
Jake Goodwin c72415d73d rewrote the tests to check the accessed addresses. 2023-08-31 17:43:12 -07:00
Jake Goodwin 68e1048a7b rewrote the gyro and accel update functions to make them faster 2023-08-31 17:42:55 -07:00
Jake Goodwin 56e568643b updated code to use read_register functions 2023-08-31 17:07:23 -07:00
Jake Goodwin 960c7fda99 rebuild the mock/fake for the twi, also added a test for the accelerometer update function 2023-08-31 17:07:13 -07:00
Jake Goodwin 398b525dec updated with fake registers 2023-08-31 00:08:03 -07:00
Jake Goodwin 4a119100e7 updated with more enums and start of the update code 2023-08-31 00:07:55 -07:00
Jake Goodwin 4c0f16578f wrote tests for the init funcitons 2023-08-30 23:31:45 -07:00
Jake Goodwin 52f234a1de Updated the driver code init function and polished the API 2023-08-30 23:31:26 -07:00
Jake Goodwin 446fdf94ee compile commands update 2023-08-30 20:17:04 -07:00
Jake Goodwin 195f37a4ab updated with TDD section 2023-08-30 20:16:54 -07:00
Jake Goodwin 1b9856c192 added tests 2023-08-30 20:16:47 -07:00
Jake Goodwin 06310475df updated and added some basic tests for the driver 2023-08-30 20:16:41 -07:00
Jake Goodwin 7ae112a7ce Initial commit 2023-08-30 05:43:48 +00:00