Skip to content

Feature/stats UI improvements#3

Open
Jisara wants to merge 2 commits intomainfrom
feature/stats-ui-improvements
Open

Feature/stats UI improvements#3
Jisara wants to merge 2 commits intomainfrom
feature/stats-ui-improvements

Conversation

@Jisara
Copy link
Copy Markdown
Collaborator

@Jisara Jisara commented Mar 26, 2026

LCD stats

Serial.println("Welcome running");
}

void loop() {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

loop and setup functions are in main.cpp, change the location of this and then ur good. if u dont see main.cpp on the branch make sure to pull the most recent changes

gfx->drawRoundRect(10, 230, 252, 78, 14, C_GRAY);
gfx->setCursor(22, 242);
gfx->printf("Trip: %.2f km", s.tripKm);
gfx->setCursor(22, 272);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

for future practice i'd recomment creating some sort of static values representing text x alignment and y. it makes it helpful if you'd like to translate lots of things at once, because then you only have to change one variable as opposed to a bunch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants