Fixed logic of adding values
- Changed logic of addReading() - Fixed methods according to this edit - Added docs
This commit is contained in:
@@ -12,7 +12,7 @@ int getSensorsNumber();
|
||||
int getSlidingWindowSize();
|
||||
bool isFull(int sensorIndex);
|
||||
|
||||
void addReading(float value, int sensorIndex);
|
||||
void addReading(float value);
|
||||
|
||||
float getAverageOnSensor(int sensorIndex);
|
||||
float getAverageOnAllSensors();
|
||||
|
||||
Reference in New Issue
Block a user