Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of APP1 by
TestAccelerometer.hpp
- Committer:
- GaiSensei
- Date:
- 2017-02-09
- Revision:
- 23:2531e72d92b9
- Parent:
- 21:a111be2582be
File content as of revision 23:2531e72d92b9:
/////////////////////////////////////////////////////////////
// APP 1: Systèmes à microprocesseurs //
// //
// Université de Sherbrooke //
// Génie informatique //
// Session 5, Hiver 2017 //
// //
// Date: 17 janvier 2017 //
// //
// Auteurs: Maxime Dupuis, dupm2216 //
// Bruno Allaire-Lemay, allb2701 //
/////////////////////////////////////////////////////////////
#ifndef TEST_ACCELEROMETER_HPP
#define TEST_ACCELEROMETER_HPP
namespace accelerometer
{
void run_all_tests();
void test_raw_axis_data_to_int();
void test_set_standby_and_active();
void test_g_force_from_int_axis_data();
void test_angle_from_int_axis_data();
void test_angle_from_int_axis_data_when_above_1g_is_corrected_to_zero();
}
#endif
