From 14d6f6e7e6342b25ade2dfac964f4348bada7255 Mon Sep 17 00:00:00 2001 From: chuck todd Date: Sat, 18 Aug 2018 00:51:22 -0600 Subject: [PATCH] Correct pins for actual hardware (#1768) The original pins_arduino.h did not correspond to the actual hardware. --- variants/heltec_wifi_lora_32/pins_arduino.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/variants/heltec_wifi_lora_32/pins_arduino.h b/variants/heltec_wifi_lora_32/pins_arduino.h index d83688b2..169a07a4 100644 --- a/variants/heltec_wifi_lora_32/pins_arduino.h +++ b/variants/heltec_wifi_lora_32/pins_arduino.h @@ -19,8 +19,8 @@ static const uint8_t KEY_BUILTIN = 0; static const uint8_t TX = 1; static const uint8_t RX = 3; -static const uint8_t SDA = 21; -static const uint8_t SCL = 22; +static const uint8_t SDA = 4; +static const uint8_t SCL = 15; static const uint8_t SS = 18; static const uint8_t MOSI = 27; @@ -61,4 +61,17 @@ static const uint8_t T9 = 33; static const uint8_t DAC1 = 26; static const uint8_t DAC2 = 25; +// OLed +static const uint8_t OLED_SCL = 15; +static const uint8_t OLED_SDA = 4; +static const uint8_t OLED_RST = 16; + +// LoRA +static const uint8_t LORA_SCK = 5; +static const uint8_t LORA_MOSI = 27; +static const uint8_t LORA_MISO = 19; +static const uint8_t LORA_CS = 18; +static const uint8_t LORA_RST = 14; +static const uint8_t LORA_IRQ = 26; + #endif /* Pins_Arduino_h */