trouble writing PIR library (C++)

Hello,

don't use the global variable lockLow, make it a class member instead, othwise this variable is not unique to each sensor!

Mike