mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 02:11:15 +03:00
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:

committed by
Mihai Tudor Panu

parent
bfdd2c37c0
commit
90524273ec
@ -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;
|
||||
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user