Circular buffer object. More...
#include <CircularBuffer.h>
Circular buffer object.
Has a fixed number of cells, set to 256.
ITEM_TYPE | the kind of data to store, eg. int, int8_t etc. |
Definition at line 27 of file CircularBuffer.h.
Public Member Functions | |
CircularBuffer () | |
Constructor. | |
bool | isFull () |
bool | isEmpty () |
void | write (ITEM_TYPE in) |
ITEM_TYPE | read () |
unsigned long | count () |
ITEM_TYPE * | address () |