
d
Dependencies: mbed
Fork of AEB by
CircularBuffer.h
- Committer:
- clynamen
- Date:
- 2016-07-31
- Revision:
- 5:d64e042b573d
- Parent:
- 2:5811e080f41d
File content as of revision 5:d64e042b573d:
#pragma once #include <vector> // class CircularBuffer { public: CircularBuffer(int size); void push_back(float v); float median(); private: std::vector<float> values; int size; };