Dave Lu / FYDP_Final2

Dependencies:   Servo mbed

Fork of FYDP_Final2 by Mark Vandermeulen

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 
00004 #include "robot.h"
00005  
00006 void bt_shell_init();
00007 void bt_shell_run();
00008 
00009 
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