 
 void setup()
 {
-    //Setup pins
-    pinMode (start,INPUT);
-    pinMode(vibra, INPUT);
-    pinMode(interrupter, INPUT);
-    pinMode(fuel, OUTPUT);
-    
+    setPins();    
     delay(500);
-
-    setInputPins();    
     setFuel(true);
     calibrateAccel();
     startModule();

void buzzAlarm()
{
    curState = ALARM_BUZZ;
    mqttClient.publish(stsTopic,"2");
}


        digitalWrite(fuel, LOW);
        mqttClient.publish(stsTopic,"0");
        calibrateAccel();
        sendGpsData=false;
    }
}

