8000 Ssd1309 extra screen by WantClue · Pull Request #937 · bitaxeorg/ESP-Miner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ssd1309 extra screen #937

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

Merged
merged 16 commits into from
May 21, 2025
Merged

Conversation

WantClue
Copy link
Collaborator
@WantClue WantClue commented May 20, 2025

builds ontop of #934
adds another screen depending on the resolution that's available to display wifi rssi.

To-Do:

  • Add Uptime
  • Update RSSI constantly
  • Add RSSI strength indicator

@WantClue WantClue changed the base branch from master to dev-latest May 20, 2025 14:47
@WantClue WantClue requested a review from mutatrum May 20, 2025 19:09
main/screen.c Outdated
if (wifi_rssi_value_label) {
char rssi_buf[25];

if (module->wifi_rssi < 0 && module->wifi_rssi >= -127) { // Typical RSSI range
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESP docs say it can actually sometimes be positive, for some reason?

}
// If the candidate screen is SCR_WIFI_RSSI AND this is NOT a bigger display,
// then this screen should be skipped, and the loop will continue to find the next one.
} while (next_scr == SCR_WIFI_RSSI && GLOBAL_STATE->DISPLAY_CONFIG.v_res / 8 != 8);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to think about this a bit more. For now I would revert this bit, and just add the new screen for all displays. If we want to have different screen designs for different resolutions, it would make sense to do that in screen_start, only once.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F.e. we could make 2 separate designs for the Wi-Fi, and either add one or the other on the SCR_WIFI_RSSI position. Or have a completely dynamic bit of the carousel, that a small screen has 4 screens (as an example), but a larger screen only has 3, with different designs.

@WantClue WantClue added the enhancement New feature or request label May 20, 2025
8000
@WantClue WantClue added this to the 2.8.0 milestone May 20, 2025
Copy link
Collaborator
@mutatrum mutatrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@WantClue WantClue merged commit 436a612 into bitaxeorg:dev-latest May 21, 2025
2 checks passed
@WantClue WantClue deleted the ssd1309-extra-screen branch May 21, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0