Skip to content

Using writeEEPROM after writeNDEFText #18

Open
@dme8a8

Description

@dme8a8
  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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions