mirror of
https://github.com/eclipse/upm.git
synced 2025-12-14 12:55:51 +03:00
java: Added [Interesting] delimiters for snippets of code to be inserted in the documentation
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:
committed by
Mihai Tudor Panu
parent
ef74a7b137
commit
0bc1930cf5
@@ -33,6 +33,8 @@ public class A110xSample {
|
||||
}
|
||||
|
||||
public static void main(String argv[]) throws InterruptedException {
|
||||
//! [Interesting]
|
||||
// Instantiate an A110X sensor on digital pin D2
|
||||
upm_a110x.A110X a110x = new upm_a110x.A110X(2);
|
||||
|
||||
while(true) {
|
||||
@@ -43,6 +45,7 @@ public class A110xSample {
|
||||
System.out.println("magnet not detected...");
|
||||
}
|
||||
Thread.sleep(1000);
|
||||
}
|
||||
}
|
||||
//! [Interesting]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user