mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +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,7 +34,8 @@ public class MQ303ASample{
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
// Instantiate an mq303a sensor on analog pin A0
|
||||
//! [Interesting]
|
||||
// Instantiate an mq303a sensor on analog pin A0
|
||||
|
||||
// This device uses a heater powered from an analog I/O pin.·
|
||||
// If using A0 as the data pin, then you need to use A1, as the heater
|
||||
@ -57,6 +58,7 @@ public class MQ303ASample{
|
||||
|
||||
mq303a.heaterEnable(false);
|
||||
System.out.println("Exiting");
|
||||
}
|
||||
//! [Interesting]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user