Esta versión v6 pasa a ser el nuevo master. Funciona correctamente

Dependencies:   ADXL345 Display1602 MSCFileSystem SDFileSystem mbed FATFileSystem

Revision:
0:a5367bd4e404
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RingBuffer.h	Tue May 20 15:11:16 2014 +0000
@@ -0,0 +1,34 @@
+#ifndef BUFFER_H
+#define BUFFER_H
+ 
+#include <vector>
+#include "mbed.h"
+ 
+class Buffer
+{
+private:
+    std::vector<float> data;
+    std::vector<float>::iterator itBeg;
+    std::vector<float>::iterator itEnd;
+    std::vector<float>::iterator head;
+    std::vector<float>::iterator tail;
+    int windex;
+    int rindex;
+    bool full;
+    bool empty;
+    int bufSize;
+public:
+    Buffer(int);
+    void put(float);
+    const float get();
+    const int getSize();
+    const bool isFull();
+    const bool isEmpty();
+    const int getWritingIndex();
+    const int getReadingIndex();
+    //void printBuffer();
+    //const int getIndex();
+};
+ 
+#endif // BUFFER_H
+