   else 
     Serial.println("done\n");
 
-  if(flag==1078io)
+  if(flag==10)
     flag=6;
     else
       flag++;

#define I2C_FASTMODE 1
     
#include "SoftWire.h"

SoftWire Wire = SoftWire();


  
  Wire.begin();
  
  Serial.begin(9600);
  Serial.println(F("InvenSense MPU-6050"));
  Serial.println(F("June 2012"));
 
