|
|
|
@ -213,11 +213,16 @@ uint8_t loraReceivedLength = sizeof(lora_RXBUFF);
|
|
|
|
|
#ifdef ESP32_DEV_V1
|
|
|
|
|
BG_RF95 rf95(5, 26); // For custom ESP32 and LoRa module
|
|
|
|
|
#else
|
|
|
|
|
BG_RF95 rf95(18, 26); // TTGO T-Beam has NSS @ Pin 18 and Interrupt IO @ Pin26
|
|
|
|
|
BG_RF95 rf95(18, 26); // TTGO T-Beam has NSS @ Pin 18 and Interrupt IO @ Pin26
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// initialize OLED display
|
|
|
|
|
#define OLED_RESET 15 // not used
|
|
|
|
|
#ifdef TX_RX_LNA
|
|
|
|
|
#define OLED_RESET 15 // not used
|
|
|
|
|
#else
|
|
|
|
|
#define OLED_RESET 16
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET);
|
|
|
|
|
|
|
|
|
|
// + FUNCTIONS-----------------------------------------------------------+//
|
|
|
|
|