Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E-paper display not working #349

Open
Fqlox opened this issue Jul 4, 2024 · 1 comment
Open

E-paper display not working #349

Fqlox opened this issue Jul 4, 2024 · 1 comment

Comments

@Fqlox
Copy link

Fqlox commented Jul 4, 2024

I wanted to connect a epaper display to my rasberry pi model 4, I got a 7.5 inch model (640x384px) 1 bit color with a epaper driver hat rev 2.3. I did the installation of epaper setup but still got nothing printed out into the display using python script.
I tried all the the edp_7## script to get the right one.

I also did some simpliest code to try to decipher any error :

import logging
from waveshare_epd import epd7in5
import time
from PIL import Image,ImageDraw,ImageFont
import traceback

print("1")
epd = epd7in5.EPD()
print("2")

epd.init()

print("3")

epd.Clear()

print("4")
Himage = Image.new('1', (640, 384), 255)  # 255: clear the frame
epd.display(epd.getbuffer(Himage))
print("5")
time.sleep(2)

It prints out :

>> 1
2
3
4
5

It shows any error, any warning, the driverhat is directly connected to the rasberry pi.

@W11T
Copy link

W11T commented Oct 19, 2024

Yes, you are writing to the console and not writing anything to the e-Paper.
Yust have a look at the examples in e-Paper/RaspberryPi_JetsonNano//examples/epd_7in.

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

No branches or pull requests

2 participants