   
   success = nfc.readPassiveTargetID(PN532_MIFARE_ISO14443A, uid, &uidLength);
 
-  if (success) {
-    // Display some basic information about the card
+  if (success)
+  {
     Serial.println("Found an ISO14443A card");
     lcd.clear();
     lcd.print("I Found a card !");

      Serial.println("Ooops ... this doesn't seem to be a Mifare Classic card!");
    }
  }
  // Wait a bit before trying again
//  Serial.println(savedData[0], HEX);
 // Serial.println(savedData[1], HEX);
  
  lcd.clear();
  lcd.print("Balance :");
  lcd.setCursor(0,1);
  lcd.print(currentBalance);
  Serial.println(currentBalance, DEC);
  Serial.println("\n\nDONE ! waiting 4 the button");
  digitalWrite(writeLedPin, LOW);
  wait4button();

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

