Add rich e-ink dashboard and button paging to E290 repeater - #3141
Open
norfanos wants to merge 1 commit into
Open
Add rich e-ink dashboard and button paging to E290 repeater#3141norfanos wants to merge 1 commit into
norfanos wants to merge 1 commit into
Conversation
The Heltec E290 repeater only showed node name + radio params on its 296x128 e-ink panel and didn't use the button. This adds a multi-page dashboard and wires up the Custom button on GPIO21. - variants/heltec_e290: PIN_USER_BTN 0 -> 21 (dedicated Custom button); keep the display live for the repeater (AUTO_OFF_MILLIS=0); construct user_btn with the internal pull-up (GPIO21 has no external pull and floats otherwise) - simple_repeater/UITask: e-ink-gated rich dashboard (Status / Radio / Traffic) built on the existing user_btn - short-press (CLICK) cycles pages, long-press keeps the existing power-off behaviour; gentler e-ink refresh cadence; honour AUTO_OFF_MILLIS=0 as never-auto-off - simple_repeater/MyMesh: expose getStats()/getNumNeighbours() for the UI (getStats also now backs the existing status request) - simple_repeater/main: pass the mesh into the UI task OLED repeater variants keep their original compact view (gated on DisplayDriver::isEink()). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Heltec E290 repeater only showed node name + radio params on its 296x128 e-ink panel and didn't use the button. This adds a multi-page dashboard and wires up the Custom button on GPIO21.
OLED repeater variants keep their original compact view (gated on DisplayDriver::isEink()).