Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Peripherals Buffer_lib_v2 SD_Lib_EffedUP_ERP Time_Lib_v2 Year3_Version5 BMP280 Network_Lib TextLCD BME280
Diff: Buffer/circular_buffer.cpp
- Revision:
- 11:799025124e87
- Parent:
- 10:fa1c8db4e28c
- Child:
- 12:cac14a3e396f
--- a/Buffer/circular_buffer.cpp Fri Dec 07 13:07:13 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-
-#include "mbed.h"
-#include "data_types.hpp"
-#include "platform/CircularBuffer.h"
-#define BUF_SIZE 120
-
-class Buffer
-{
- //Variables
- public:
-
- private:
- CircularBuffer<SensorData, BUF_SIZE> buf;
-
- protected:
-
- //Functions
- public:
- Buffer()
- {
-
- //char data_stream[] = "DataToBeAddedToBuffer";
- }
- ~Buffer(){}
- void write_buffer()
- {
- if (!buf.full())
- {
- //buf.push(data)
- }
- }
- void read_buffer()
- {
-
- }
- void store_buffer()
- {
-
- }
- private:
- protected:
-
-};
-
-
-
\ No newline at end of file