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 IMU_code_7_14 by
Diff: IMU_code.h
- Revision:
- 0:22fc81041056
- Child:
- 1:0672f84101e4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/IMU_code.h Fri Jun 09 17:31:10 2017 +0000
@@ -0,0 +1,21 @@
+#ifndef IMU_CODE_H
+#define IMU_CODE_H
+
+#include <string>
+using namespace std;
+
+class IMU_code
+{
+ //CLASS VARIABLES and DEFINITIONS
+ const double GRAVITY = 9.80665;
+
+ #define NUMDESCRIPTS 4
+ #define MAXPACKETSIZE 100
+ #define SAMPLE_RATE 20 //IMU sample rate
+
+public:
+ IMU_code(); //pass variables to a constructor (don't need anything passed to it)
+ string IMU_run(); //function ()
+};
+
+#endif /* IMU_CODE_H_ */
\ No newline at end of file
