     vraw[9] = nextSeqNum();
     batteryLevelChar.setValue((unsigned char*) vraw, 20);
   }
-}
+
+  if ((millis()-ledLapse) > 1000) {
+    ledLapse = millis();
+    ledState = !ledState;
+    digitalWrite(13,ledState);
+      //digitalWrite(VIBE_PIN,ledState);
+  }
+}

      stillBegin = millis();
      stillMillis = 1;
    }
    else
      stillMillis = millis() - stillBegin;
  }
  else stillMillis=0;
  


  dispLed(0x02, 0x0f0, 0);      // 1 - green IMU setup done

  ledLapse = millis();
}

void atten(int16_t *a, int len, int shiftBy)
