 
 void sendSensorData(){
   tempFloat = analogRead(temperature);
-  tempFloat = tempFloat * (5 / 1024); //converting binary number to voltage (0-1024)->(0-5)
+  tempFloat = (tempFloat * 5) /1024; //converting binary number to voltage (0-1024)->(0-5)
+  tempFloat = (tempFloat)*100; //converting voltage to temperature
   Serial.print(tempFloat);
   Serial.print("\r\n");
   tempFloat = analogRead(lightLevel);
-  tempFloat = tempFloat * (5 / 1024); //converting binary number to voltage (0-1024)->(0-5)
+  tempFloat = ( (tempFloat * 5) / 1024); //converting binary number to voltage (0-1024)->(0-5)
   Serial.print(tempFloat);
   Serial.print("\r\n");
 }


//moves 72 degree to select next warehouse
void moveOneStep(){
  for(int i = 0; i < step72; i++){
    for(int j = 0; j <= 7; j++){
      digitalWrite(roPin1, seq[j][0]);
      digitalWrite(roPin2, seq[j][1]);
      digitalWrite(roPin3, seq[j][2]);

  digitalWrite(pump, HIGH); //activates the pump
  while(/*getCurrent() < currentThreeshold &&*/ steps < maxUpSteps){ //go down until gets one bill
    stepDown(); //move one step down
    steps++;
  }
  delay(getBillDelay); //to wait until bill catched for sure
  for(int i = 0; i<steps; i++){ //retun to initial position
