Initial Commit

Dependencies:   mbed HC05 QEI MODSERIAL SWSPI mbed-rtos

shell/bt_shell.h

Committer:
harshb
Date:
2014-10-21
Revision:
6:5ab1735265a9
Parent:
4:81b0de07841f

File content as of revision 6:5ab1735265a9:

#ifndef BT_shell_H
#define BT_shell_H
#include "robot.h"
#include "ultrasonic.h"
#include "tone.h"

extern "C" void mbed_reset();
void bt_shell_run();
void print_all();
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