Skip to content

Commit

Permalink
Add support for waveshare_epd.epd7in3e
Browse files Browse the repository at this point in the history
Proper color display is dependent on waveshareteam/e-Paper#363 being
merged
  • Loading branch information
antoinecellerier committed Oct 18, 2024
1 parent 42f13a1 commit 910bdf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ Below is a list of displays currently implemented in the library. The Omni Devic
| | [5.83inch e-Paper HAT B](https://www.waveshare.com/5.83inch-e-Paper-HAT-B.htm) |waveshare_epd.epd5in83b <br> waveshare_epd.epd5in83b_V2 | bw, red |
| | [5.83inch e-Paper HAT C](https://www.waveshare.com/5.83inch-e-Paper-HAT-C.htm) | __waveshare_epd.epd5in83c__ | bw, yellow |
| | [6inch e-Ink Display](https://www.waveshare.com/6inch-e-paper-hat.htm) | waveshare_epd.it8951 | bw, gray16 |
| | [7.3inch e-Paper HAT E](https://www.waveshare.com/7.3inch-e-paper-hat-e.htm) | __waveshare_epd.epd7in3e__ | bw, color |
| | [7.3inch e-Paper HAT G](https://www.waveshare.com/7.3inch-e-paper-hat-g.htm) | __waveshare_epd.epd7in3g__ | bw, red, yellow, 4color |
| | [7.3inch e-Paper HAT F](https://www.waveshare.com/7.3inch-e-paper-hat-f.htm) | waveshare_epd.epd7in3f | bw, color |
| | [7.5inch e-Paper HAT](https://www.waveshare.com/7.5inch-e-Paper-HAT.htm) | waveshare_epd.epd7in5 | bw |
Expand Down
3 changes: 2 additions & 1 deletion src/omni_epd/displays/waveshare_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,13 +407,14 @@ class WaveshareMultiColorDisplay(WaveshareDisplay):
This class is for the Waveshare 7 color displays
https://github.com/waveshareteam/e-Paper/blob/master/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd5in65f.py
https://github.com/waveshareteam/e-Paper/blob/master/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd4in01f.py
https://github.com/waveshareteam/e-Paper/blob/master/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in3e.py
https://github.com/waveshareteam/e-Paper/blob/master/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in3f.py
"""

max_colors = 7
modes_available = ('bw', 'color')

deviceList = ["epd5in65f", "epd4in01f", "epd7in3f"]
deviceList = ["epd5in65f", "epd4in01f", "epd7in3e", "epd7in3f"]

def __init__(self, deviceName, config):
super().__init__(deviceName, config)
Expand Down

0 comments on commit 910bdf9

Please sign in to comment.