We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf64114 + a8a052c commit cb78e6dCopy full SHA for cb78e6d
adafruit_rfm69.py
@@ -312,7 +312,7 @@ def __init__( # pylint: disable=invalid-name
312
self.reset() # Reset the chip.
313
# Check the version of the chip.
314
version = self._read_u8(_REG_VERSION)
315
- if version != 0x24:
+ if version not in (0x23, 0x24):
316
raise RuntimeError("Invalid RFM69 version, check wiring!")
317
self.idle() # Enter idle state.
318
# Setup the chip in a similar way to the RadioHead RFM69 library.
0 commit comments