TRR 2018 / Mbed 2 deprecated biniou-TRR2019-DLVV

Dependencies:   mbed MPU6050

Revision:
8:f23601373e8b
Child:
9:1b54bac6d9a7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sm_mpu.h	Wed Oct 02 22:25:12 2019 +0000
@@ -0,0 +1,21 @@
+#ifndef H_SM_MPU
+#define H_SM_MPU
+
+#include "MPU6050.h"
+#include "utils.h"
+
+
+typedef enum{
+    INIT_MPU,
+    RUNNING_MPU,
+    ERROR_MPU
+}E_STATE_MPU;
+
+void mpu_log_notify();
+void mpu_log_start(int duration_ms);
+
+void init_sm_mpu();
+void update_sm_mpu();
+void output_sm_mpu();
+
+#endif
\ No newline at end of file