Browse Source

Redefine OLED_RESET then used TX_RX_LNA

pull/1/head
US1GHQ 11 months ago
parent
commit
24cfb8c0bc
  1. 9
      src/TTGO_T-Beam_LoRa_APRS.ino

9
src/TTGO_T-Beam_LoRa_APRS.ino

@ -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-----------------------------------------------------------+//

Loading…
Cancel
Save