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.
Diff: bt_shell/shell/bt_shell.h
- Revision:
- 0:964eb6a2ef00
diff -r 000000000000 -r 964eb6a2ef00 bt_shell/shell/bt_shell.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bt_shell/shell/bt_shell.h Wed Mar 18 22:23:48 2015 +0000
@@ -0,0 +1,23 @@
+#ifndef BT_shell_H
+#define BT_shell_H
+
+#include "robot.h"
+
+void bt_shell_init();
+void bt_shell_run();
+
+
+struct interface{
+ bool list[16]; //list saves which pieces of data must be returned
+ //0 - IMU_all
+ //1 - IMU_acc
+ //2 - IMU_gyr
+ //3 - IMU_rotation
+ //4 - IR_sensors
+ //5 - Optical_flow_sensors
+ //6 - Current_sensor
+ //7 - Voltage_sensor
+ int period; //this is the refresh rate at which the python wants data [ms]
+};
+
+#endif
\ No newline at end of file