mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
Updated Java CMake and examples to comply with the new interfaces.
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
9669f226b9
commit
c16b33ae31
@ -35,7 +35,7 @@ public class HCSR04_Example {
|
||||
|
||||
while (true) {
|
||||
System.out.println("Get distance");
|
||||
double distance = sonar.getDistance(HCSR04_U.swigToEnum(0));
|
||||
double distance = sonar.getDistance();
|
||||
System.out.println("Distance: " + distance);
|
||||
|
||||
Thread.sleep(5000);
|
||||
|
Reference in New Issue
Block a user