Updated interfaces and sensors

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Serban Waltter
2018-07-26 18:04:31 +03:00
committed by Mihai Tudor Panu
parent bfdd2c37c0
commit 90524273ec
18 changed files with 44 additions and 63 deletions

View File

@ -35,13 +35,11 @@ namespace upm
virtual ~iPH() {}
/**
* Take a number of samples and return the detected pH value. The
* default number of samples is 15.
* Returns the detected pH value.
*
* @param samples The number of samples to average over, default 15
* @return The pH value detected
*/
virtual float pH(unsigned int samples = 15) = 0;
virtual float getPH() = 0;
};
}