arduino-LoRa
arduino-LoRa copied to clipboard
RESET pin -1
Hello!
I'm using an Arduino Nano with the RFM95 module. I have a problem when I set the RESET pin to -1. There is an error in the connection.
If I put the RESET on a pin, on pin 6 in my case, the error doesn't appear anymore, but it partially works, because it takes a long time to receive the packets.
NSS: 10 DIO0: 2 DIO1: 3 RESET: -1
Thank you very much in advance.
What's the error? It should be able to handle -1 as the pin
Hi! Sorry for the delay. The error occurs when I set the RESET pin to -1, in the Serial Monitor it is shown that the LoRa connections are not correct.
const int csPin = 10; const int resetPin = -1; const int irqPin = 3;
When I set the RESET pin to 6, the error goes away, but my device doesn't work. The device sends the first message, but stops, it seems the device locks up. I soldered pin 6 of the Atmega328 to the RESET of the LoRa module.