-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add number of improvements to the label maker standard sketch #1
Draft
bboe
wants to merge
26
commits into
base
Choose a base branch
from
label_maker_standard_improvements
base: base
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
bboe
force-pushed
the
label_maker_standard_improvements
branch
from
December 8, 2024 18:16
e3fdf8a
to
9bf76f3
Compare
bboe
force-pushed
the
label_maker_standard_improvements
branch
from
December 9, 2024 01:07
9bf76f3
to
dcb41b5
Compare
Rename: - line to plotLine - plot to setPen Normalize X/Y variables to termX, termY Add additional define constants Remove unused conditional pertaining to dashed drawing
As part of this change, use a fixed-width character array to hold chosen characters, rather than a string type.
Increase `SERVO_DELAY` to ensure points can be plotted
bboe
force-pushed
the
label_maker_standard_improvements
branch
from
December 9, 2024 06:25
dcb41b5
to
37ac6a5
Compare
Instead, we can simply replace the `222` with 100 more than the previous point
The updated behavior moves the cursor back while keeping the selected character at that position. This behavior seems more natural and is more friendly to accidentally advancing the cursor forward and returning back to editing the intended character.
This change enables us to do away with the special handling of `_` as a space character.
Two things are done to accomplish this: 1) Don't allow the cursor to advance beyond the 16th space 2) Return the cursor to the last added character after a "no" confirmation rather than to the position to the right of the last added character
Additionally, rename and sort states for improved consistency.
bboe
force-pushed
the
label_maker_standard_improvements
branch
from
December 9, 2024 07:25
37ac6a5
to
b3854d7
Compare
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 first three commits on this PR are simply clean-up and some organization to make following along with the subsequent commits easier.
Notable changes:
blink
support83%
to30%
primarily by usingF(...)
for strings andPROGMEM
for the array of character/vector structuresFor comparison the output from compilation before these improvements:
And the output after these improvements: