Skip to content

Commit 3e0effe

Browse files
authored
Update arduino_lorawan_esp32_example.ino
1 parent 5c49c5d commit 3e0effe

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

examples/arduino_lorawan_esp32_example/arduino_lorawan_esp32_example.ino

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,17 @@
177177
#define PIN_LMIC_DIO2 cMyLoRaWAN::lmic_pinmap::LMIC_UNUSED_PIN
178178
#pragma message("ARDUINO_ADAFRUIT_FEATHER_ESP32 defined; assuming RFM95W FeatherWing will be used")
179179
#pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
180+
181+
#else
182+
// LoRaWAN_Node board
183+
// https://github.com/matthias-bs/LoRaWAN_Node
184+
// (or anything else)
185+
#define PIN_LMIC_NSS 14
186+
#define PIN_LMIC_RST 12
187+
#define PIN_LMIC_DIO0 4
188+
#define PIN_LMIC_DIO1 16
189+
#define PIN_LMIC_DIO2 17
190+
180191
#endif
181192

182193
// Uplink message payload size (calculate from assignments to 'encoder' object)

0 commit comments

Comments
 (0)