   lcd.clear();
   Serial.print("end read = ");Serial.println(oldPosition);
   
-  
   Serial.flush();
 }
 

        }
        else
        {
          if (currentblock == 24)
          {
            success = nfc.mifareclassic_WriteDataBlock(currentblock, data);
            if (success)
            {

        else
         {
          lcd.clear();
          lcd.print("New balance :");
          lcd.setCursor(0,1);
          lcd.print(newPosition / 4);
          
          oldPosition = newPosition;
          Serial.println(newPosition / 4);  
         } 
