Skip to content

Using writeEEPROM after writeNDEFText #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dme8a8 opened this issue Dec 16, 2023 · 0 comments
Open

Using writeEEPROM after writeNDEFText #18

dme8a8 opened this issue Dec 16, 2023 · 0 comments

Comments

@dme8a8
Copy link

dme8a8 commented Dec 16, 2023

  Serial.println(F("Writing the first NDEF Text record"));

  tag.writeNDEFText("First write", &memLoc, true, false);

  tag.writeNDEFText("2nd write", &memLoc, false, false);

  uint8_t a[10] = {0x01, 0x02, 0x03, 0x04};

  tag.writeEEPROM(&memLoc,a, 4);

In this example, tag.writeEEPROM is not getting written, because writeEEPROM() requires the base EEPROM adress, not a pointer to a uint16_t containing the start address. Is there any reason for this difference in the API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant