arduino-LoRa icon indicating copy to clipboard operation
arduino-LoRa copied to clipboard

MKR WAN 1310 and Ethernet Shield

Open alexair777 opened this issue 5 years ago • 0 comments

Hey everybody,

I am using a MKR WAN 1310 microcontroller together with an mkr ethernet shield. The shield uses the following pins:

4 | SD CS | Reserved 5 | ETH CS |   8 | MOSI | Reserved 9 | SCK | Reserved 10 | MISO | Reserved

I have seen that the Arduino lora library uses the pins 2, 9, and 10 as default. I am additionally using the pin 2 as output for a 433mhz transmitter. The lora library just needs to be used as a lora receiver.

I have tried to set the pins via the command: "LoRa.setPins(ss, reset, dio0)"

But I just get the message: "Starting LoRa failed!"

Does anybody know, why I can't set the pins correctly?

Thanks so much!

alexair777 avatar Mar 05 '20 22:03 alexair777