Skip to content

BREAKING CHANGE: Adding a Reset Pin

Compare
Choose a tag to compare
@brentru brentru released this 19 Jul 19:51
9f62cd6

BREAKING RELEASE: The TinyLoRa initialization method signature has been changed to require a rst pin (digitalio pin object).

from:
lora = TinyLoRa(spi, cs, irq, ttn_config)
to:
lora = TinyLoRa(spi, cs, irq, rst, ttn_config)

Release Notes

  • Resets the RFM9x module before attempting to read the RFM9x RegVersion. Prevents chip from starting/reading from a bad state.
    • Examples have been changed to reflect the addition of the RST pin.
  • Adds a deinit() method along with enter and exit methods for use with a context manager

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-tinylora.

Read the docs for info on how to use it.