code: def write_ndef(self, ndef, slot=1):
          
          if not self.capabilities.have_nfc_ndef(slot):
              raise yubikey_base.YubiKeyVersionError("NDEF slot %i unsupported in %s" % (slot, self))
  
          return self._device._write_config(ndef, _NDEF_SLOTS[slot])
docs: Write an NDEF tag configuration to the YubiKey NEO.