MCPcopy Create free account
hub / github.com/Marzogh/SPIMemory / writeStr

Method writeStr

src/SPIFram.cpp:876–878  ·  view source on GitHub ↗

Writes a string to a specific location on a page Takes three arguments - 1. _addr --> Any address - from 0 to capacity 2. data --> One String to be written to a particular location on a page 3. errorCheck --> Turned on by default. Checks for writing errors WARNING: You can only write to previously erased memory locations (see datasheet). Use the eraseSector()/eraseBlock32K/eraseBlock64K commands t

Source from the content-addressed store, hash-verified

874// WARNING: You can only write to previously erased memory locations (see datasheet).
875// Use the eraseSector()/eraseBlock32K/eraseBlock64K commands to first clear memory (write 0xFFs)
876bool SPIFram::writeStr(uint32_t _addr, String &data, bool errorCheck) {
877 return _write(_addr, data, sizeof(data), errorCheck, _STRING_);
878}
879
880
881

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected