Last active
May 8, 2026 10:43
-
-
Save starvald/971adfe40838d47728aaf3c58d04d226 to your computer and use it in GitHub Desktop.
changes needed for Meshcore Heltec T114 and a bme280
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EDIT:platformio.ini | |
| [env:Heltec_t114_without_display_repeater] | |
| extends = Heltec_t114 | |
| build_src_filter = ${Heltec_t114.build_src_filter} | |
| +<../examples/simple_repeater> | |
| build_flags = | |
| ${Heltec_t114.build_flags} | |
| -D ADVERT_NAME='"Node name"' | |
| -D ADVERT_LAT=0.0 | |
| -D ADVERT_LON=0.0 | |
| -D ADMIN_PASSWORD='"Node password"' | |
| -D MAX_NEIGHBOURS=50 | |
| -D TELEM_BME280_ADDRESS=0x76 | |
| -D ENV_INCLUDE_BME280=1 | |
| ; -D MESH_PACKET_LOGGING=1 | |
| ; -D MESH_DEBUG=1 | |
| lib_deps = | |
| ${Heltec_t114.lib_deps} | |
| adafruit/Adafruit BME280 Library @ ^2.3.0 | |
| EDIT: Variant.h | |
| //////////////////////////////////////////////////////////////////////////////// | |
| // I2C pin definition, Change pins for your build. | |
| #define PIN_WIRE_SDA (26) // P0.26 | |
| #define PIN_WIRE_SCL (27) // P0.27 | |
| #define PIN_WIRE1_SDA (16) // P0.16 | |
| #define PIN_WIRE1_SCL (13) // P0.13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment