Motion sensor listener
Posted: Thu Sep 08, 2016 2:11 pm
Hello,
I tried the example shown in https://www.reddit.com/r/pi4j/comments/ ... r_example/
However the program does not output anything. I also tried the GpioMotionSensorComponent which comes with pi4j-device, but the behavior is the same.
When using the python example from https://www.raspberrypi.org/learning/pa ... worksheet/ - it is printing "Motion detected".
Do you know what is wrong with the Java sample? Thank you.
I tried the example shown in https://www.reddit.com/r/pi4j/comments/ ... r_example/
However the program does not output anything. I also tried the GpioMotionSensorComponent which comes with pi4j-device, but the behavior is the same.
When using the python example from https://www.raspberrypi.org/learning/pa ... worksheet/ - it is printing "Motion detected".
Do you know what is wrong with the Java sample? Thank you.