Add support for V2 of the waveshare 5.83in e-paper display. - #3660
Merged
Conversation
2 tasks
cooki35
marked this pull request as ready for review
July 28, 2022 16:56
Contributor
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
ssieb
requested changes
Oct 27, 2022
Comment on lines
+948
to
+956
| /* | ||
| // Reset | ||
| this->reset_pin_->digital_write(false); | ||
| delay(20); | ||
| this->reset_pin_->digital_write(true); | ||
| delay(5); | ||
| this->reset_pin_->digital_write(false); | ||
| delay(20); | ||
| */ |
Member
There was a problem hiding this comment.
Why is this commented out? If it's not needed, then just remove it.
|
This looks like it would be ready to go, apart from the one change requested by the review. |
|
Just tested it, works great, thanks @cooki35 |
Contributor
Author
|
The changes sound reasonable, I forgot to delete the comments. I removed them. Thanks @ssieb ! |
jesserockz
approved these changes
May 1, 2023
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What does this implement/fix?
Add code to support the WaveShare 5.83in black & white displays with "V2" stickers on them.
The resolution of the V2 version changed (from 600x448) to 648x480.
The init and display code differ from the original 5.83in version.
Types of changes
Related issue or feature (if applicable): fixes esphome/issues#2121
Pull request in esphome-docs with documentation (if applicable): esphome/esphome.io#2200
Test Environment
The display was connected with the WaveShare e-Paper Driver HAT Rev2.2 and via SPI to an ESP32 (esp32doit-devkit-v1).
The switches of the driver HAT were set to:
Example entry for
config.yaml:Checklist:
tests/folder).If user exposed functionality or configuration variables are added/changed: