pir1 protocol changed to take in account  'oscillator resistor' change