e-Paper icon indicating copy to clipboard operation
e-Paper copied to clipboard

E-paper display not working

Open Fqlox opened this issue 1 year ago • 1 comments

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.

Fqlox avatar Jul 04 '24 13:07 Fqlox

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.

W11T avatar Oct 19 '24 14:10 W11T