Open nefesyazilimcom opened 3 years ago
hello i wanna write 390 characters 1k Mifare Classic card but i cant write it says write successful but records are empty
my code : `#include
PN532_I2C pn532_i2c(Wire); NfcAdapter nfc = NfcAdapter(pn532_i2c);
void setup() { Serial.begin(115200); Serial.println("Serial Start"); nfc.begin(); Serial.println("NFC Start"); }
void loop() { if (nfc.tagPresent()) { NfcTag tag = nfc.read(); tag.print(); } if (nfc.tagPresent()) { NdefMessage message = NdefMessage(); message.addTextRecord("denemedenemedenemedenemedenemedenemedenemedenemedenemedenemedenemedenemedenemedenemeden");
bool success = nfc.write(message); if (success) { Serial.println("Write Success"); } else { Serial.println("Error"); } }
} ` i use https://github.com/don/NDEF/issues/53 but dont working
hello i wanna write 390 characters 1k Mifare Classic card but i cant write it says write successful but records are empty
my code : `#include
include
include
include
PN532_I2C pn532_i2c(Wire); NfcAdapter nfc = NfcAdapter(pn532_i2c);
void setup() { Serial.begin(115200); Serial.println("Serial Start"); nfc.begin(); Serial.println("NFC Start"); }
void loop() { if (nfc.tagPresent()) { NfcTag tag = nfc.read(); tag.print(); } if (nfc.tagPresent()) { NdefMessage message = NdefMessage(); message.addTextRecord("denemedenemedenemedenemedenemedenemedenemedenemedenemedenemedenemedenemedenemedenemeden");
} ` i use https://github.com/don/NDEF/issues/53 but dont working