From f0bcb8014cb2743f5edfd2d560584efee888ff50 Mon Sep 17 00:00:00 2001 From: Cuddly Cheetah Date: Wed, 23 Oct 2019 01:06:22 +0200 Subject: [PATCH] fixed RFM69_POCSAG.py --- RFM69_POCSAG.py | 1 + 1 file changed, 1 insertion(+) 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)