Hi everyone,
For which I understand the pinout configuration is:
- MOSI - GPIO10
- MISO - GPIO9
- SCK - GPIO11
- CE1 DIO0 GPIO16
- CE1 DIO5 GPIO 5
- CE1 NSS GPIO7
- CE1 data LED GPIO13
And no Reset pin connectivity
I've been trying to use pyLoRa library to connect and send a message but it seems to be failing on the board setup. I get the error "Failed to add edge detection". I've tried simply using the RPi.GPIO library directly without pyLoRa to add event detection on the GPIO 16 pin and get the same error. Infact I get the error on trying to add event detection to ANY pin.
I'm not sure where im going wrong / what to try next. I know connectivity and power to the chip is working (I can make the data LED flash, I can read from it over SPI). SPI is turned on in the Rasperry Pi config. Any advice on where to start? I've considered trying to use the pi in the sky software and debug from there but wasnt sure what part of that card to isolate out as the Lora sender. I don't mind switching away from python (rest of the code is in node), i simply selected python as I believed that had the best LoRa transceiver libraries (that may be wrong)
Thanks for any advice!
James