Skip to content

Commit

Permalink
activate BME sensors on esp32 S3 devices
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberman54 committed Jul 1, 2024
1 parent a3fd024 commit 98c1b07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion platformio_orig.ini
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ lib_deps_sensors =
adafruit/Adafruit BME280 Library @ ^2.2.4
adafruit/Adafruit BMP085 Library @ ^1.2.4
adafruit/Adafruit BMP280 Library@ ^2.6.8
boschsensortec/BSEC Software Library @ 1.8.1492
https://github.com/cyberman54/BSEC-Arduino-library.git
lewapek/Nova Fitness Sds dust sensors library @ ^1.5.1
lib_deps_basic =
https://github.com/dbSuS/libpax.git
Expand Down
2 changes: 1 addition & 1 deletion platformio_orig_s3.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ lib_deps_sensors =
adafruit/Adafruit BME280 Library @ ^2.2.4
adafruit/Adafruit BMP085 Library @ ^1.2.4
adafruit/Adafruit BMP280 Library@^2.6.8
;boschsensortec/BSEC Software Library @ 1.8.1492
https://github.com/cyberman54/BSEC-Arduino-library.git
lewapek/Nova Fitness Sds dust sensors library @ ^1.5.1
lib_deps_basic =
https://github.com/dbSuS/libpax.git
Expand Down
6 changes: 3 additions & 3 deletions shared/hal/ttgotsupremes3.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
#define LORA_BUSY (4)

// BME280 sensor on I2C bus
//#define HAS_BME 1 // Enable BME sensors in general
//#define HAS_BME280 SDA, SCL // SDA, SCL
//#define BME280_ADDR 0x76 // change to 0x77 depending on your wiring
#define HAS_BME 1 // Enable BME sensor
#define HAS_BME280 SDA, SCL
#define BME280_ADDR 0x77

// power management settings
#define HAS_PMU 1 // has AXP2101 chip at i2c 0x68/0x69
Expand Down

0 comments on commit 98c1b07

Please sign in to comment.