Bruno Allaire-Lemay
/
APP1test
df
Fork of APP1 by
Diff: Accelerometer.hpp
- Revision:
- 4:303fb83498fd
- Parent:
- 3:1a9d0f0a50bf
- Child:
- 5:f59b51ac4b40
--- a/Accelerometer.hpp Sat Jan 14 22:37:34 2017 +0000 +++ b/Accelerometer.hpp Sat Jan 14 23:32:29 2017 +0000 @@ -27,6 +27,7 @@ int raw_axis_data_to_int(signed char raw_axis_data); void test_raw_axis_data_to_int(); char get_axis_register(Axis axis); +bool is_almost_equal(double a, double b, double tolerance); class Accelerometer {