semin ahn / Mbed OS zeta_stm_kinetic

Dependencies:   BufferedSerial

Revision:
0:4ff8aeb3e4d1
Child:
2:0de4854743f7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/variables/globalVariable.h	Fri Apr 02 05:24:49 2021 +0000
@@ -0,0 +1,24 @@
+#ifndef ZETA_STM_KINETIC_GLOBALVARIABLE_H_
+#define ZETA_STM_KINETIC_GLOBALVARIABLE_H_
+/* global variables begin --------------------------------------------------- */
+// Sonar variables
+volatile float dist[NUM_SONAR] = {0.,};
+//volatile float dist_raw[NUM_SONAR] = {0.,};
+
+// subscriber variables
+volatile bool isSubscribe = false;
+
+// bluetooth variables
+typedef struct bt_data_ {
+    int rec;
+    int sen;
+}bt_data_t;
+volatile bt_data_t bt_data;
+volatile uint8_t NUC_sub_state = '\0';
+volatile bool start_check = false;
+
+// print variables
+Vect3 gAcc_raw, gGyro_raw, gMag_raw;
+float gQ[4],gTheta,gRoll,gPitch,gYaw;
+/* global variables end ----------------------------------------------------- */
+#endif
\ No newline at end of file