MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / setWriteProtect

Method setWriteProtect

libraries/FRAM_I2C/FRAM.cpp:207–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205
206
207bool FRAM::setWriteProtect(bool b)
208{
209 if (_writeProtectPin < 0) return false;
210 digitalWrite(_writeProtectPin, b ? HIGH : LOW);
211 return true;
212}
213
214
215bool FRAM::getWriteProtect()

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64