![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
df
Fork of APP1 by
TestAccelerometer.hpp@5:f59b51ac4b40, 2017-01-15 (annotated)
- Committer:
- dupm2216
- Date:
- Sun Jan 15 01:34:25 2017 +0000
- Revision:
- 5:f59b51ac4b40
- Parent:
- 4:303fb83498fd
- Child:
- 6:3facf0329142
Get angle from horizontal; ; Works on the prototype!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dupm2216 | 3:1a9d0f0a50bf | 1 | #ifndef TEST_ACCELEROMETER_HPP |
dupm2216 | 3:1a9d0f0a50bf | 2 | #define TEST_ACCELEROMETER_HPP |
dupm2216 | 3:1a9d0f0a50bf | 3 | |
dupm2216 | 3:1a9d0f0a50bf | 4 | namespace accelerometer |
dupm2216 | 3:1a9d0f0a50bf | 5 | { |
dupm2216 | 3:1a9d0f0a50bf | 6 | void run_all_tests(); |
dupm2216 | 3:1a9d0f0a50bf | 7 | void test_raw_axis_data_to_int(); |
dupm2216 | 3:1a9d0f0a50bf | 8 | void test_set_standby_and_active(); |
dupm2216 | 4:303fb83498fd | 9 | void test_is_almost_equal(); |
dupm2216 | 5:f59b51ac4b40 | 10 | void test_wrap_angle(); |
dupm2216 | 5:f59b51ac4b40 | 11 | void test_degree_from_radian(); |
dupm2216 | 5:f59b51ac4b40 | 12 | void test_g_force_from_int_axis_data(); |
dupm2216 | 5:f59b51ac4b40 | 13 | void test_angle_from_int_axis_data(); |
dupm2216 | 3:1a9d0f0a50bf | 14 | }; |
dupm2216 | 3:1a9d0f0a50bf | 15 | |
dupm2216 | 3:1a9d0f0a50bf | 16 | #endif |