Skip to content

Conversation

@x86ed
Copy link
Contributor

@x86ed x86ed commented Nov 20, 2023

  1. Please prefix the issue title with the primary package affected.
  • creates waveshare2in13v3 with tests and example
  • creates waveshare2in13v4 with tests and example
  1. Mention the issue number it fixes or add the details of the changes if it
    doesn't have a specific issue.
  1. Once integrated, send a PR to https://github.com/periph/cmd to leverage the
    new functionality (if relevant).
  • will update shortly

@x86ed x86ed changed the title waveshare2in13v3/waveshare2in13v4 adding v3 and v4 waveshare 2.13" ePaper displays waveshare2in13v3/waveshare2in13v4: adding v3 and v4 waveshare 2.13" ePaper displays Nov 20, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2023

Codecov Report

Attention: Patch coverage is 68.98955% with 267 lines in your changes missing coverage. Please review.

Project coverage is 51.1%. Comparing base (cfd565d) to head (5b33120).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
waveshare2in13v3/waveshare213v3.go 28.9% 89 Missing and 2 partials ⚠️
waveshare2in13v4/waveshare213v4.go 32.7% 74 Missing and 2 partials ⚠️
waveshare2in13v4/errorhandler.go 0.0% 48 Missing ⚠️
waveshare2in13v3/errorhandler.go 0.0% 40 Missing ⚠️
waveshare2in13v3/controller.go 97.7% 1 Missing and 2 partials ⚠️
waveshare2in13v3/drawing.go 97.8% 2 Missing and 1 partial ⚠️
waveshare2in13v4/controller.go 98.1% 1 Missing and 2 partials ⚠️
waveshare2in13v4/drawing.go 97.3% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main     #65     +/-   ##
=======================================
+ Coverage   49.5%   51.1%   +1.6%     
=======================================
  Files         90      99      +9     
  Lines      11736   12728    +992     
=======================================
+ Hits        5808    6500    +692     
- Misses      5674    5958    +284     
- Partials     254     270     +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@benleb
Copy link

benleb commented Dec 4, 2024

v4 works great (v3 not tested, no v3 display...)! thanks!

@maruel
Copy link
Member

maruel commented Dec 7, 2024

I forgot to comment here, can you fix the linter errors? You'll need to rebase.

@x86ed
Copy link
Contributor Author

x86ed commented Dec 21, 2024

rerunning

Remove unreferenced, unexported values.
Remove unreferenced, unexported constants.
@gsexton
Copy link
Contributor

gsexton commented Feb 10, 2025

@maruel I've fixed the outstanding lint issues on the. Are you OK with me merging it?

Copy link
Member

@maruel maruel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! It's really appreciated.

@gsexton gsexton merged commit b09dc06 into periph:main Feb 12, 2025
10 checks passed
gsexton added a commit to gsexton/devices that referenced this pull request Feb 15, 2025
…Paper displays (periph#65)

* adding v3 and v4 waveshare

* updating file

* Update waveshare213v4.go

Remove unreferenced, unexported values.

* Update waveshare213v3.go

Remove unreferenced, unexported constants.

---------

Co-authored-by: gsexton <georges@mhsoftware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Update Waveshare e-Ink display support

5 participants