mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
docs: updated @param tags, added missing function descriptions, other minor changes
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
@ -63,8 +63,6 @@ class HCSR04 {
|
||||
*
|
||||
* @param triggerPin Pin to trigger the sensor for distance
|
||||
* @param echoPin Pulse response to triggering
|
||||
* @param fptr Function pointer to handle rising-edge and
|
||||
* falling-edge interrupts
|
||||
*/
|
||||
HCSR04 (int triggerPin, int echoPin);
|
||||
/**
|
||||
@ -74,6 +72,8 @@ class HCSR04 {
|
||||
|
||||
/**
|
||||
* Gets the distance from the sensor
|
||||
*
|
||||
* @param sys Selects units for measurement: 0 = inch, 1 = cm
|
||||
*/
|
||||
double getDistance (int sys);
|
||||
|
||||
|
Reference in New Issue
Block a user