RobTillaart / RunningMedian

Arduino library to determine the running median by means of a circular buffer.
MIT License
46 stars 9 forks source link

investigate if size can be set up to 255 #8

Closed RobTillaart closed 3 years ago

RobTillaart commented 3 years ago

Currently the max size is 250, This was chosen to stay safe. Users might expect the be able to set up to 255 so

  1. test if 255 is possible
  2. if not get an appropriate error message. (compile time and or runtime ???)
  3. Consider using uint16_t for the size and count etc
RobTillaart commented 3 years ago

will be implemented in 0.3.1