teste de publish

Dependencies:   DS1820 HighSpeedAnalogIn devices mbed

CircularBuffer.h

Committer:
brunofgc
Date:
2018-06-08
Revision:
38:07d3907b74e5
Parent:
37:0e95c85f0160

File content as of revision 38:07d3907b74e5:

#include "mbed.h"
#ifndef _Circular_Buffer_
#define _Circular_Buffer_
class CircularBuffer {
  char *bufIn;
  uint16_t index;
  bool estouro;
  uint16_t tam; 
  bool circular; 
      
  public:
    CircularBuffer(uint16_t,bool);
    char* get();
    char* getRowBuffer();
    void putc(char);
    uint16_t getLength();
    void del();
    uint16_t fill(char *,uint16_t);
        
};
#endif