EdgeBotix / Mbed 2 deprecated eBot_Firmware_V1

Dependencies:   mbed HC05 QEI MODSERIAL SWSPI mbed-rtos

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers bt_shell.h Source File

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