mirror of
https://github.com/eclipse/upm.git
synced 2025-07-27 06:01:16 +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 Adxl345 {
|
||||
}
|
||||
|
||||
public static void main(String argv[]) throws InterruptedException {
|
||||
//! [Interesting]
|
||||
// Note: Sensor only works at 3.3V on the Intel Edison with Arduino breakout
|
||||
upm_adxl345.Adxl345 obj = new upm_adxl345.Adxl345(0);
|
||||
int[] raw = new int[3];
|
||||
float[] accel = new float[3];
|
||||
@ -49,5 +51,6 @@ public class Adxl345 {
|
||||
|
||||
Thread.sleep(1000);
|
||||
}
|
||||
//! [Interesting]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user