Skip to content

Instantly share code, notes, and snippets.

@starvald
Last active May 8, 2026 10:43
Show Gist options
  • Select an option

  • Save starvald/971adfe40838d47728aaf3c58d04d226 to your computer and use it in GitHub Desktop.

Select an option

Save starvald/971adfe40838d47728aaf3c58d04d226 to your computer and use it in GitHub Desktop.
changes needed for Meshcore Heltec T114 and a bme280
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