 float accelG[3];  // Stores the real accel value in g's
 
 bool electrified = false;
-int electrifyStart;
+unsigned long electrifyStart;
 
 
 void setup()


      analogWrite(19, 255);
      electrifyStart = millis();
      electrified = true;
      Serial.println("ELECTRIFY!");
}

  if ((source & 0x40)==0x40)  // If AxZ bit is set
  {
    if ((source & 0x08)==0x08)  // If DPE (double puls) bit is set
      Serial.println("    Double Tap (2) on Z");
    else
    {
      Serial.println("Single (1) tap on Z");
      electrify();
    }
    if ((source & 0x04)==0x04)  // If PoIZ is set
