mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +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
@ -34,6 +34,8 @@ public class BISS0001Sample{
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
//! [Interesting]
|
||||
// Instantiate a Grove Motion sensor on GPIO pin D7
|
||||
upm_biss0001.BISS0001 motion = new upm_biss0001.BISS0001(7);
|
||||
|
||||
while (true) {
|
||||
@ -46,6 +48,7 @@ public class BISS0001Sample{
|
||||
|
||||
Thread.sleep(1000);
|
||||
}
|
||||
//! [Interesting]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user