mirror of
https://github.com/eclipse/upm.git
synced 2025-09-17 23:54:51 +03:00
rotary_relay: Updated java examples
Changed module from upm_grove to upm_relay/rotary. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@@ -26,7 +26,7 @@ public class RotarySample {
|
||||
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
// ! [Interesting]
|
||||
upm_grove.Rotary knob = new upm_grove.Rotary(0);
|
||||
upm_rotary.Rotary knob = new upm_rotary.Rotary(0);
|
||||
|
||||
while (true) {
|
||||
float abs_value = knob.abs_value(); // Absolute raw value
|
||||
@@ -46,4 +46,4 @@ public class RotarySample {
|
||||
// ! [Interesting]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user