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

Method peek

libraries/FRAM_I2C/FRAM_RINGBUFFER.cpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108
109int FRAM_RINGBUFFER::peek()
110{
111 if (empty()) return FRAM_RB_ERR_BUF_EMPTY;
112 int value = _fram->read8(_tail);
113 return value;
114}
115
116
117///////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 1

read8Method · 0.45

Tested by

no test coverage detected