资 源 简 介
http://www.interpretivearson.com/projects/2pir/
2pir is an interactive fire installation that involves 16 infrared motion sensors that either directly or indirectly trigger 16 flame effects at the perimeter. This is the next iteration of the codebase, designed to replace a PERL script.
Reasons for this: Java provides multithreading to allow simpler IO handling, a web front-end for control, as well as the potential to implement sequences
Cons: It"s complicated.
Notes:
This requires the RXTX library. This library is buggy at times on windows, difficult to install on OSX, and a breeze on Linux. The choice is yours.
Threshold values are not current, and were altered at FAF, as was the pir_io_reader run function.