Skip to content

Commit 3894962

Browse files
committed
Added Heltec Lora32
1 parent ef6ddc0 commit 3894962

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ This board uses the following pin mapping:
402402
.nss = 17,
403403
.rxtx = LMIC_UNUSED_PIN,
404404
.rst = 18,
405-
.dio = {23, 23, 23}, //workaround to use 1 pin for all 3 radio dio pins
405+
.dio = {23, LMIC_UNUSED_PIN, LMIC_UNUSED_PIN},
406406
};
407407
```
408408
You will also need Arduino ESP32 support from
@@ -412,6 +412,26 @@ This board uses the following pin mapping:
412412
mode. After programming reset the board without P3 shorted to ground to start
413413
in normal mode.
414414

415+
### Heltec Lora32 (ESP32)
416+
When using Heltec Lora32 you will need the following pin mapping:
417+
418+
```
419+
const lmic_pinmap lmic_pins = {
420+
.mosi = 27,
421+
.miso = 19,
422+
.sck = 5,
423+
.nss = 18,
424+
.rxtx = LMIC_UNUSED_PIN,
425+
.rst = 14,
426+
.dio = {26, 33, 32},
427+
};
428+
429+
```
430+
On Board OLED is I2C with SCL=GPIO15, SDA=GPIO4 and OLED_RST=GPIO16.
431+
You will also need Arduino ESP32 support from
432+
https://github.com/espressif/arduino-esp32. Use the "ESP32 Dev Module" as target
433+
device.
434+
415435

416436
Examples
417437
--------

0 commit comments

Comments
 (0)