Modified pin map for ARDUINO_TTGO_LORA32_V2 (DIO1 not connected & not needed)

This commit is contained in:
Matthias Prinke 2024-04-01 19:21:05 +02:00
parent 5c43fc5800
commit 301ddf6031
3 changed files with 3 additions and 6 deletions

View file

@ -54,8 +54,7 @@ const uint8_t subBand = 0; // For US915, change this to 2, otherwise leave on 0
#elif defined(ARDUINO_TTGO_LORA32_V2) #elif defined(ARDUINO_TTGO_LORA32_V2)
#pragma message ("ARDUINO_TTGO_LORA32_V2 + Display") #pragma message ("ARDUINO_TTGO_LORA32_V2 + Display")
#pragma message ("Connect DIO1 to GPIO33!") SX1276 radio = new Module(18, 26, 12, RADIOLIB_NC);
SX1276 radio = new Module(18, 26, 12, 33);
#elif defined(ARDUINO_TTGO_LoRa32_v21new) // T3_V1.6.1 #elif defined(ARDUINO_TTGO_LoRa32_v21new) // T3_V1.6.1
#pragma message ("Using TTGO LoRa32 v2.1 marked T3_V1.6.1 + Display") #pragma message ("Using TTGO LoRa32 v2.1 marked T3_V1.6.1 + Display")

View file

@ -49,8 +49,7 @@ const uint8_t subBand = 0; // For US915, change this to 2, otherwise leave on 0
#elif defined(ARDUINO_TTGO_LORA32_V2) #elif defined(ARDUINO_TTGO_LORA32_V2)
#pragma message ("ARDUINO_TTGO_LORA32_V2 + Display") #pragma message ("ARDUINO_TTGO_LORA32_V2 + Display")
#pragma message ("Connect DIO1 to GPIO33!") SX1276 radio = new Module(18, 26, 12, RADIOLIB_NC);
SX1276 radio = new Module(18, 26, 12, 33);
#elif defined(ARDUINO_TTGO_LoRa32_v21new) // T3_V1.6.1 #elif defined(ARDUINO_TTGO_LoRa32_v21new) // T3_V1.6.1
#pragma message ("Using TTGO LoRa32 v2.1 marked T3_V1.6.1 + Display") #pragma message ("Using TTGO LoRa32 v2.1 marked T3_V1.6.1 + Display")

View file

@ -49,8 +49,7 @@ const uint8_t subBand = 0; // For US915, change this to 2, otherwise leave on 0
#elif defined(ARDUINO_TTGO_LORA32_V2) #elif defined(ARDUINO_TTGO_LORA32_V2)
#pragma message ("ARDUINO_TTGO_LORA32_V2 + Display") #pragma message ("ARDUINO_TTGO_LORA32_V2 + Display")
#pragma message ("Connect DIO1 to GPIO33!") SX1276 radio = new Module(18, 26, 12, RADIOLIB_NC);
SX1276 radio = new Module(18, 26, 12, 33);
#elif defined(ARDUINO_TTGO_LoRa32_v21new) // T3_V1.6.1 #elif defined(ARDUINO_TTGO_LoRa32_v21new) // T3_V1.6.1
#pragma message ("Using TTGO LoRa32 v2.1 marked T3_V1.6.1 + Display") #pragma message ("Using TTGO LoRa32 v2.1 marked T3_V1.6.1 + Display")