java: added auto build java examples in cmake

Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Stefan Andritoiu
2015-12-11 19:44:04 +02:00
committed by Mihai Tudor Panu
parent 8273556539
commit 9516e0720c
5 changed files with 121 additions and 6 deletions

View File

@ -38,7 +38,7 @@ public class Lcm1602_parallelSample {
// 10K trimmer potentiometer:
// ends to +5V and ground
// wiper to LCD VO pin (pin 3)
upm_i2clcd.Lcm1602 lcd = new upm_i2clcd.Lcm1602(8, 13, 2, 3, 4, 5, 20, 2);
upm_i2clcd.Lcm1602 lcd = new upm_i2clcd.Lcm1602((short) 8, (short) 13, (short) 2, (short) 3, (short) 4, (short) 5, (short) 20, (short) 2);
lcd.setCursor(0, 0);
lcd.write("Hello World");
@ -49,4 +49,4 @@ public class Lcm1602_parallelSample {
Thread.sleep(5000);
// ! [Interesting]
}
}
}