initial code for an iris actuated by PIR sensors and hall-effect limit switches