Hi All – Can anyone highlight which pins on the V3 and WSL V3 are the i2c pins?
Heltec V3 and WSL V3 i2c Pins
You can attach the 2 x I2C drivers available at V3 to any pin you wish, however OLED & LoRa modules are attached to the following pins if this is what you are loking for…
static const uint8_t SDA_OLED = 17;
static const uint8_t SCL_OLED = 18;
static const uint8_t RST_OLED = 21;
static const int8_t SW_LoRa = -1;
static const uint8_t SS_LoRa = 8;
static const uint8_t SCK_LoRa = 9;
static const uint8_t MOSI_LoRa = 10;
static const uint8_t MISO_LoRa = 11;
static const uint8_t RST_LoRa = 12;
static const uint8_t BUSY_LoRa = 13;
static const uint8_t DIO1_LoRa = 14;
You should never use SPI/I2C “.begin()” without specifying ALL pins, the library will use its internal default values and they are usually wrong.
@macedo123 has effectively summarised the content of WiFi LoRa 32 (V3) I2C SDA/SCL in relation to the I2C pins and Heltec LoRa 32 V3 nightmares in relation to pin assignment inconsistencies in general.