This is for our FYDP project. 2 MPU6050s are used

Dependencies:   Servo mbed

bt_shell/shell/bt_shell.h

Committer:
majik
Date:
2015-03-21
Revision:
0:21019d94ad33

File content as of revision 0:21019d94ad33:

#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