slackinfux / T-DisplayWeather

A sketch to display temp, humidity and pressure on a TTGO T-Display from a BME280 sensor
12 stars 3 forks source link

How to connect BME280 ? #1

Open JoeBarouneD opened 3 years ago

JoeBarouneD commented 3 years ago

Hi, i wonder how do you connect the BME280 on the TTGO-T-Display since you don't define any pins ?

Thanks !

slackinfux commented 3 years ago

It's using the hardware I2C pins and the library doesn't require you to define them unless you're using software I2C. Pin 21 for SDA Pin 22 for SCL.