Commit Graph

28 Commits

Author SHA1 Message Date
RobTillaart
768fd8c92e make runningMedian Configurable #110 2018-08-24 08:57:44 +02:00
Samuel Lang
92432a601f make RunningMedian configurable
The defines are not accessible when the library is used as a reference like with PlatformIO hence the `#defines` cannot be overwritten.
2018-08-23 22:00:20 +02:00
RobTillaart
02c271bdaa fix library.json keywords format 2018-01-09 00:11:37 +01:00
RobTillaart
5d7b26abeb fix #87 - version field for library.json files 2018-01-07 19:13:07 +01:00
RobTillaart
7177809c01 fix URL path in library.properties 2017-08-20 17:16:48 +02:00
RobTillaart
cecb3906ed fix issue #33 - revert double to float; +some refactor 2017-07-26 22:21:25 +02:00
RobTillaart
8a94bc3acc initial versions of library.properties 2016-12-18 11:02:20 +01:00
RobTillaart
018a4872a6 update library.json files 2016-12-18 10:48:17 +01:00
RobTillaart
45d8bff06a added library.json files 2016-12-17 20:53:18 +01:00
rob tillaart
34ff8cfd02 + fix getELementh(n)
+ header for example sketch
+ add bigger test sketch
2015-10-30 17:32:59 +01:00
rob tillaart
e4ee6b2532 fix merge 2015-10-30 16:52:26 +01:00
rob tillaart
6a5296d3f1 + refactor constructor + const where possible 2015-10-30 16:46:22 +01:00
rob tillaart
87be2b064a + refactor constructor + const where possible 2015-10-30 16:12:24 +01:00
rob tillaart
3dbd52fd43 + version 0.1.11
+ undo fix clear.
2015-03-29 18:35:38 +02:00
rob tillaart
4c254807bf + version 0.1.10
+ float -> double (for ARM proc)
+ fix in clear()
2015-03-07 15:53:38 +01:00
Rob Tillaart
b4e61cd3e7 + correction version string 2013-10-27 19:20:13 +01:00
Rob Tillaart
224f0e4b2c + version 0.1.08
+ added getElement()
+ added getSortedElement()
+ added predict()
+ refactor getHighest(), getLowest()
2013-10-20 15:32:13 +02:00
Rob Tillaart
0acddd3f2b + version 0.1.07
+ added correct median for even element count
+ fix bug in 0.1.06
2013-10-20 00:19:12 +02:00
Rob Tillaart
ff52d49117 + version 0.1.06
+ dynamic internal buffers
+ replace sorted buffer with "indirection buffer"
+ bubble sort + flag (faster)
2013-10-19 15:55:43 +02:00
Rob Tillaart
28b1b43b2a + 0.1.06beta - experimental version
+ dynamic memory option
+ less internal storage
+ faster sort (factor 2 on average)
2013-10-19 15:34:18 +02:00
Rob Tillaart
79c57bc888 + added comments in the header file
+ removed the default constructor, user should be explicit define size
+ created a destructor
+ added support for dynamic allocated internal buffers (not tested)
+ fixed bug in sort routine (swap)
+ patched testsketches
2013-10-19 00:26:50 +02:00
Rob Tillaart
287d2436f4 + add keywords.txt 2013-10-18 19:36:41 +02:00
Rob Tillaart
eba3ece14e + added getAverage(uint8_t nMedians)
+ getSize()
+ getCount()
+ ifdef conditional to keep code small
2013-10-17 20:55:03 +02:00
Rob Tillaart
fae951f02a + added sorted flag
+ renamed some #defines (might break some code)
+ added test sketch
2013-09-30 19:10:10 +02:00
Rob Tillaart
127f32ebc7 + update to version 0.1.02 2013-08-17 14:54:10 +02:00
Rob Tillaart
b5205149a5 running median 2011-10-09 22:24:29 +02:00
Rob Tillaart
64c247fee4 testing 2011-10-09 22:19:32 +02:00
Rob Tillaart
eb297bc993 added some more libs 2011-10-09 22:16:48 +02:00