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.
Dependencies: mbed HC05 QEI MODSERIAL SWSPI mbed-rtos
bt_shell.h
00001 #ifndef BT_shell_H 00002 #define BT_shell_H 00003 #include "robot.h" 00004 #include "ultrasonic.h" 00005 #include "tone.h" 00006 00007 extern "C" void mbed_reset(); 00008 void bt_shell_run(); 00009 void print_all(); 00010 struct interface{ 00011 bool list[16]; //list saves which pieces of data must be returned 00012 //0 - IMU_all 00013 //1 - IMU_acc 00014 //2 - IMU_gyr 00015 //3 - IMU_rotation 00016 //4 - IR_sensors 00017 //5 - Optical_flow_sensors 00018 //6 - Current_sensor 00019 //7 - Voltage_sensor 00020 int period; //this is the refresh rate at which the python wants data [ms] 00021 }; 00022 00023 #endif
Generated on Wed Jul 13 2022 22:51:50 by
1.7.2