Add temperature controls to main menu #503
Closed
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.
Features Added
This allows hotend and heatbed temperatures to be set from the main menu by clicking on their status icon/temperature.
While this could be managed from the control menu, I like having the preheat and cooldown buttons on there to set both hotend and heatbed temperatures. This allows control of each individually from the main menu, for example to set just the hotend temperature to remove the filament without also heating up the bed.
Potential Improvements
To save having to increment up from 0, I've set a default starting value of 200 for the hotend and 60 for the heatbed. This could be something retrieved from config to let users set their own default value.
This only adds the ability to adjust temperatures. It would make sense to also allow fan speed control in the same way. However I couldn't see an easy way already implemented to set fan speed so I've added temperature controls for now.