Tried to integrate this into my project a Makeblock mBot robot. I got all kinds of compiler errors in RingBuff like "'for loop initial declarations are only allowed in C99 mode". Seems i have to change compiler settings. The problem is that the mBot software is preconfigured and i am not sure if this change will introduce other problems.
So i decide to not use this library.