Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heltec SSD1306 Display Support #1277

Closed
wants to merge 12 commits into from
Closed

Heltec SSD1306 Display Support #1277

wants to merge 12 commits into from

Commits on Oct 6, 2022

  1. Configuration menu
    Copy the full SHA
    9fed347 View commit details
    Browse the repository at this point in the history
  2. Almost complete

    My environment
    
    [env:heltec-display]   ; Heltec ESP32 Board with SSD1306 display
    platform = ${com.esp32_platform}
    board = heltec_wifi_lora_32_V2
    build_type = debug
    monitor_filters = esp32_exception_decoder
    board_build.partitions = min_spiffs.csv
    extra_scripts = pre:scripts/omg_firmware_version.py
    lib_deps =
      ${com-esp.lib_deps}
      ${libraries.wifimanager32}
      ${libraries.heltec}
    ;  ${libraries.m5stickcp}
    
    build_flags =
      ${com-esp.build_flags}
      ${test_env.build_flags}
    ; *** OpenMQTTGateway Config ***
      '-UZmqttDiscovery'          ; disables MQTT Discovery
      '-DvalueAsATopic=true'
      '-DLOG_LEVEL=LOG_LEVEL_TRACE'
    ; *** OpenMQTTGateway Modules ***
      '-DZboardHELTEC="HELTEC"'
    ; *** Heltec Board Options ***
      '-DDEBUG_OLEDDISPLAY(...)=Serial.printf( __VA_ARGS__ )'
      '-DLOG_TO_LCD=true'         ; Enable log to LCD
      '-DLED_ERROR=2'
      '-DONBOARD_LED=25'          ; Onboard LED is GPIO 25 on the Heltec Board
    
    monitor_port = /dev/cu.SLAB_USBtoUART
    monitor_speed = 921600
    upload_port = /dev/cu.SLAB_USBtoUART
    upload_speed = 921600
    NorthernMan54 committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    7d7ee9a View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. Configuration menu
    Copy the full SHA
    cabb85e View commit details
    Browse the repository at this point in the history
  2. Lint fixes

    NorthernMan54 committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    5020a31 View commit details
    Browse the repository at this point in the history
  3. Oops in platformio.ini

    NorthernMan54 committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    1e7d15b View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2022

  1. This compiles with the LoRa module enabled

    Switched to the thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.3.0 library which was the base for the Heltec library.
    NorthernMan54 committed Oct 8, 2022
    Configuration menu
    Copy the full SHA
    6e513e2 View commit details
    Browse the repository at this point in the history
  2. Lint fixes

    NorthernMan54 committed Oct 8, 2022
    Configuration menu
    Copy the full SHA
    f1eefaf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b52ec87 View commit details
    Browse the repository at this point in the history
  4. Lint fixes

    NorthernMan54 committed Oct 8, 2022
    Configuration menu
    Copy the full SHA
    9e738e2 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2022

  1. Tuning of display buffer

    This fixes multi-line display
    NorthernMan54 committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    a47ed97 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Implement suggestions

    1 - Set default LCD log level to WARNING
    2 - Implemented a macro based displayPrint function that will be usable across different displays
    NorthernMan54 committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    6b515c6 View commit details
    Browse the repository at this point in the history
  2. Fix conflict

    NorthernMan54 committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    3af9902 View commit details
    Browse the repository at this point in the history