diff --git a/RFM69_POCSAG.py b/RFM69_POCSAG.py index 894a475..6e08826 100644 --- a/RFM69_POCSAG.py +++ b/RFM69_POCSAG.py @@ -216,6 +216,7 @@ class RFM69_POCSAG(object): def readReg(self, addr): return self.spi.xfer([addr & 0x7F, 0])[1] def writeReg(self, addr, value): + self.spi.xfer([addr | 0x80, value]) def setHighPower(self, onOff): if onOff: self.writeReg(REG_OCP, RF_OCP_OFF)