Arduino SimpleFIFO library, originally
C++ Arduino
Latest commit 0c98f76 Aug 12, 2014 @rambo back then I did not remember char was signed, anyway now we have opti…
…on to define the sizes we need


Found the code via

Noticed it's not interrupt safe so did a quick-and-dirty sprinkling of volatile keywors and it happens to work

Also limited the FIFO size the 255 (uint8_t vs int, for strategic variables) to conserve memory. If you need larger buffers: define SIMPLEFIFO_LARGE before including SimpleFIFO.h which will use uint16_t for those variables.

See also