Updated Java CMake and examples to comply with the new interfaces.

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
This commit is contained in:
Serban Waltter
2018-06-21 16:49:42 +03:00
parent bee6374a1a
commit d4c68f5088
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)