adafruit / TinyLoRa

LoRaWAN Library
69 stars 38 forks source link

create object instantiator for CS and IRQ pins #1

Closed ladyada closed 6 years ago

ladyada commented 6 years ago

instead of #defines, you should be able to set the pins when you create the TinyLora object like this https://github.com/adafruit/Adafruit_MAX31865/blob/master/Adafruit_MAX31865.cpp#L40 but of course for just the CS and IRQ pins. SPI should still be hardware SPI only

brentru commented 6 years ago

Merged into master/approved, closing...