Skip to content

Fix epd7in3e Spectra 6 colors#410

Open
rs9000 wants to merge 1 commit intowaveshareteam:masterfrom
rs9000:master
Open

Fix epd7in3e Spectra 6 colors#410
rs9000 wants to merge 1 commit intowaveshareteam:masterfrom
rs9000:master

Conversation

@rs9000
Copy link

@rs9000 rs9000 commented Jan 1, 2026

Updated code to match 6 colors specifics.

I also think there is an issue in epdconfig.py, where PWR_PIN should be 27 instead of 18 for Raspberry.
https://www.waveshare.com/wiki/7.3inch_e-Paper_HAT_(E)_Manual

@kinto0
Copy link

kinto0 commented Jan 7, 2026

I wish I saw this.... lots of people are having issues with it here fatihak/InkyPi#167

@kinto0
Copy link

kinto0 commented Jan 12, 2026

looking at all of the manuals:

  • e seems like the 6-color (this one)
  • f seems like the 7-color
  • g seems like the 4-color

so this driver is just entirely wrong. it's not like E represented multiple boards

@missionfloyd
Copy link
Contributor

It's fine. This just corrects some variable names, which doesn't affect how it works.

@kinto0
Copy link

kinto0 commented Jan 13, 2026

It's fine. This just corrects some variable names, which doesn't affect how it works.

interesting. but it is currently broken. we need to change the palette too then like I do here

@rs9000
Copy link
Author

rs9000 commented Jan 14, 2026

It's fine. This just corrects some variable names, which doesn't affect how it works.

interesting. but it is currently broken. we need to change the palette too then like I do here

The palette is correct. This change affects epd7in3e which has 6 colors, as you said yourself in your previous message.

The original author copied the epd7in3f code without properly renaming variables. This PR fixes that issue by correcting the naming to match epd7in3e and avoid confusion between drivers.

Your pull request is incorrect because you are trying to use a 6-color palette on epd7in3f, which has 7 colors, including orange.

6 colors palette (epd7in3e): (0,0,0, 255,255,255, 255,255,0, 255,0,0, 0,0,255, 0,255,0)
7 colors palette (epd7in3f): (0,0,0, 255,255,255, 0,255,0, 0,0,255, 255,0,0, 255,255,0, 255,128,0)

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.

3 participants