 // output raw accelerometer data in addition to gestures
 #define PRINT_SENSOR_DATA
 
+#define NINEAXIS
+
+//#define SEP '\t'
+#define SEP ','
+
 
 ////////////////////////////////////////////////////////////////////////////////
 


void setup()  
{
    droidspeak.speakPowerUpPhrase();

    // 1.5g constants, sampled 2014-06-21
    motionSensor.calibrateX(272, 794);
    motionSensor.calibrateY(332, 841);
    motionSensor.calibrateZ(175, 700);

    // OSCuino: begin SLIPSerial just like Serial
    // BlueSMiRF Silver is compatible with any baud rate from 2400-115200
    SLIPSerial.begin(115200);   // set this as high as you can reliably run on your platform
#if ARDUINO >= 100
    while(!Serial) ; // Leonardo "feature"
#endif

    droidspeak.speakSerialOpenPhrase();

    meetAndroid.registerFunction(ping, 'p');



MMA7361 motionSensor(MOTION_X_PIN, MOTION_Y_PIN, MOTION_Z_PIN);

#ifdef NINEAXIS
#include <Wire.h>
#include <I2Cdev.h>
#include <ADXL345.h>
#include <ITG3200.h>
#include <HMC5883L.h>

ADXL345 accel;
ITG3200 gyro;
HMC5883L magnet;
#endif

////////////////////////////////////////////////////////////////////////////////

