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

Method lastError

libraries/MCP23008/MCP23008.cpp:355–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353
354
355int MCP23008::lastError()
356{
357 int e = _error;
358 _error = MCP23008_OK; // reset error after read.
359 return e;
360}
361
362
363////////////////////////////////////////////////////

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36