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:
Serban Waltter
2018-06-21 16:49:42 +03:00
committed by Mihai Tudor Panu
parent 9669f226b9
commit c16b33ae31
6 changed files with 41 additions and 45 deletions

View File

@ -28,7 +28,7 @@ public class Moisture_Example {
upm_moisture.Moisture gm = new upm_moisture.Moisture(1);
while (true) {
int moisture_val = gm.value();
int moisture_val = gm.getMoisture();
String result;
if (moisture_val >= 0 && moisture_val < 300)