Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit cc3c29e

Browse files
committed
fix: to fix the RFM pins declaration
1 parent 9f9f655 commit cc3c29e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

examples/class_c_otaa_ack/class_c_otaa_ack.ino

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ char myStr[50];
1616
char outStr[255];
1717
byte recvStatus = 0;
1818

19+
//To confirm the pins used to handle the communication with the LoRa module
1920
const sRFM_pins RFM_pins = {
20-
.CS = SS,
21-
.RST = RFM_RST,
22-
.DIO0 = RFM_DIO0,
23-
.DIO1 = RFM_DIO1,
24-
.DIO2 = RFM_DIO2,
25-
.DIO5 = RFM_DIO5,
21+
.CS = 7,
22+
.RST = 3,
23+
.DIO0 = 18,
24+
.DIO1 = 19,
25+
/*.DIO2 = if_needed,
26+
.DIO5 = if_needed,*/
2627
};
2728

2829
void setup() {

0 commit comments

Comments
 (0)