mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
java: Added java examples for some sensors
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
9d63545d44
commit
5ff625eaf4
@ -35,7 +35,7 @@ public class YG1006Sample{
|
||||
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
//! [Interesting]
|
||||
// Instantiate a yg1006 flame sensor on digital pin D2
|
||||
// Instantiate a yg1006 flame sensor on digital pin D2
|
||||
upm_yg1006.YG1006 flame = new upm_yg1006.YG1006(2);
|
||||
|
||||
while (true) {
|
||||
|
Reference in New Issue
Block a user