266 display modifications - #29
Open
Freezer-SD wants to merge 5 commits into
Open
Conversation
Finished 266 screens to be equal to 213 screens. Stat screens as well as speed-field screens. Demo loop available activated through ESP_functions bool test_screen=true and set in Rto5.ino update(SPEED) or update_screen(config.stat_screen[stat_count]
…centage or voltage
…ery reading position
Contributor
Author
|
O, and it was based on 3.81 when I started. I did not include the updates to 5.82 yet. |
Owner
|
As I saw a lot of conflicts in the merging, so I renamed your file e_paper.cpp -> e_paper_266.cpp, e_paper.h -> e_paper_266.h. Some other small changes were needed, but now you can compile it with the SW 5.83. In the header of RTOS5.ino, include e_paper_266.h instead of the e_paper.h. |
This file contains hidden or 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
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.
Hi Jan,
I added support for the 2.66inch screens (BN266) initially requested by Rolfz. Due to the changed resolution I had to overhaul the complete E_paper.cpp and change the locations to be relative to fontsize is display width and height. Added more fonts to accomodate the various screens. Also the BETA large font for Alphas has been updated for all fields and also the largest speed font has now the functionality to choose the fields.
I modified the stats fields 1-5 with more information.
I also added the battery status in the fiels==5 for distant stats (as requested on github)
The battery reading can now be selected in the config file in either voltage or percentage.
I added a new board logo OneHundred and a new sail logo classic NorthSails.
I did not (yet) follow-up on your suggestion to remove the if statements displayheight <130, (but could be done later).
The partial or full screen-update is not always crisp, not sure why. Perhaps more frequent full-updates needed? Also on the sleep-screen there remains a dark edge, as if the full update does not cover some pixels at the edges. This is a bit annoying. Perhaps the 266 in the ESP_functionas.h are not ideal. I found various recommendations on the web. At least these seem to work, but not sure if it is optimal.
There might be a few more changes that I cannot think of right now. Please have a look before merging.