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:
Stefan Andritoiu
2015-09-14 18:13:40 +03:00
committed by Mihai Tudor Panu
parent ef74a7b137
commit 0bc1930cf5
28 changed files with 105 additions and 47 deletions

View File

@ -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]
}
}