Skip to content

Commit

Permalink
T-Beam OLED test
Browse files Browse the repository at this point in the history
  • Loading branch information
DigiH committed Jan 15, 2025
1 parent cd35520 commit 1990b8c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions environments.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1205,14 +1205,15 @@ lib_deps =
${libraries.ble}
${libraries.decoder}
${libraries.lora}
${libraries.ssd1306}
build_flags =
${com-esp32.build_flags}
'-DZgatewayLORA="LORA"'
'-DZgatewayBT="BT"'
'-DGateway_Name="OMG_ESP32_BLE_LORA"'
'-DLED_PIN=21' # T-BEAM board V0.5
# '-DLED_PIN=21' # T-BEAM board V0.5
# '-DLED_PIN=14' # T-BEAM board V0.7
# '-DLED_PIN=4' # T-BEAM board V1.0+
'-DLED_PIN=4' # T-BEAM board V1.0+
'-DTimeLedON=0.05'
'-DLED_PIN_ON=1' # Set 0 for board V1.0+
# for V0.5 and V0.7 ONLY (V1.0+ as onboard AXP202 dedicated chip, need driver)
Expand All @@ -1222,6 +1223,14 @@ build_flags =
'-DADC_DIVIDER=2'
# Reading battery level every minutes should be more than enought
'-DTimeBetweenReadingADC=60000'
; *** ssd1306 Display Options ***
'-DZdisplaySSD1306="LilyGo_SSD1306"'
; '-DLOG_TO_OLED=true' ; Enable log to OLED
; '-DJSON_TO_OLED=true'
; '-DLOG_LEVEL_OLED=LOG_LEVEL_NOTICE'
; '-DDISPLAY_IDLE_LOGO=false'
; '-DDISPLAY_BRIGHTNESS=80'
; '-DDISPLAY_METRIC=false'
custom_description = BLE gateway with battery holder
custom_hardware = TTGO T BEAM

Expand Down

0 comments on commit 1990b8c

Please sign in to comment.