Skip to content

266 display modifications - #29

Open
Freezer-SD wants to merge 5 commits into
RP6conrad:masterfrom
Freezer-SD:266-display-modifications
Open

266 display modifications#29
Freezer-SD wants to merge 5 commits into
RP6conrad:masterfrom
Freezer-SD:266-display-modifications

Conversation

@Freezer-SD

Copy link
Copy Markdown
Contributor

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.

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]
@Freezer-SD

Copy link
Copy Markdown
Contributor Author

O, and it was based on 3.81 when I started. I did not include the updates to 5.82 yet.

@RP6conrad

Copy link
Copy Markdown
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.
Still need to add RTC_bat to the web configuration, set it now fixed to zero.
I will make a RTOS5.83B266.bin file in the repo, can you check it on your display ?

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