changed default PIR to active low, and renamded to PIR_INVERTED