I managed to connect the atomic IMU 6DOF to the mega and used the code(given below) to read the data. I am getting a set of distinct numbers that actually make no sense at all…
int imuData[9];
void setup() {
Serial.begin(115200);
Serial.println("#");
Serial.println("-");
}
void loop() {
for(int i=0; i<9; i++) {
imuData[i]=Serial.read();
Serial.print(imuData[i]);
Serial.print("__");
}
Serial.println("");
delay(900);
}
-RaHL