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

Imagine U and I #7

Merged
merged 28 commits into from
Feb 24, 2024
Merged

Conversation

aclowmclaughlin
Copy link
Contributor

@aclowmclaughlin aclowmclaughlin commented Feb 3, 2024

Created a UI for the charge controller so that the battery charging voltage and current can be changed without having to manually change the code. A bunch was changed, but a basic summary is that now the LCDDisplay, ControllerModel, and ControllerUI class are in a MVC relationship (ControllerModel is the Model, LCDDisplay is the view, and ControllerUI is the Controller).

@aclowmclaughlin aclowmclaughlin changed the title Imagine U and I, I doI think about it day and night Imagine U and I Feb 3, 2024
@aclowmclaughlin aclowmclaughlin requested a review from a team February 3, 2024 18:07
@aclowmclaughlin
Copy link
Contributor Author

Copy link

@tmb5932 tmb5932 left a comment

Choose a reason for hiding this comment

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

LCD :). Look at comments added 🐸

include/charge_controller/dev/LCDDisplay.hpp Show resolved Hide resolved
include/charge_controller/dev/LCDDisplay.hpp Outdated Show resolved Hide resolved
include/charge_controller/dev/ControllerModel.hpp Outdated Show resolved Hide resolved
src/charge_controller/dev/ControllerUI.cpp Outdated Show resolved Hide resolved
src/charge_controller/dev/ControllerUI.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@mjmagee991 mjmagee991 left a comment

Choose a reason for hiding this comment

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

This is really great work. Just some things to clean up before merging

include/charge_controller/dev/ControllerUI.hpp Outdated Show resolved Hide resolved
include/charge_controller/dev/ControllerModel.hpp Outdated Show resolved Hide resolved
include/charge_controller/dev/ControllerModel.hpp Outdated Show resolved Hide resolved
include/charge_controller/dev/ControllerModel.hpp Outdated Show resolved Hide resolved
include/charge_controller/dev/ControllerModel.hpp Outdated Show resolved Hide resolved
src/charge_controller/dev/ControllerUI.cpp Outdated Show resolved Hide resolved
src/charge_controller/dev/ControllerUI.cpp Outdated Show resolved Hide resolved
src/charge_controller/dev/LCDDisplay.cpp Outdated Show resolved Hide resolved
targets/charge_controller/main.cpp Show resolved Hide resolved
targets/charge_controller/main.cpp Show resolved Hide resolved
aclowmclaughlin and others added 5 commits February 10, 2024 12:09
…e, and added a comment explaining the scoping for the switch statement in LCDView.display().
…ign' into feature/aclowmclaughlin/UI_Redesign

# Conflicts:
#	src/charge_controller/dev/UIController.cpp
@aclowmclaughlin
Copy link
Contributor Author

Copy link
Contributor

@mjmagee991 mjmagee991 left a comment

Choose a reason for hiding this comment

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

A couple more details, but looks great

include/charge_controller/dev/LED.hpp Outdated Show resolved Hide resolved
include/charge_controller/dev/UIController.hpp Outdated Show resolved Hide resolved
include/charge_controller/dev/UIModel.hpp Outdated Show resolved Hide resolved
include/charge_controller/dev/UIModel.hpp Outdated Show resolved Hide resolved
Copy link
Member

@ActuallyTaylor ActuallyTaylor left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link

@tmb5932 tmb5932 left a comment

Choose a reason for hiding this comment

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

yah this bien

@aclowmclaughlin aclowmclaughlin merged commit 1f2bead into main Feb 24, 2024
1 check passed
@aclowmclaughlin aclowmclaughlin deleted the feature/aclowmclaughlin/UI_Redesign branch February 24, 2024 16:37
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.

4 participants