waveshare / IT8951

57 stars 36 forks source link

Connection dies for e-paper #9

Open mgpepe opened 4 years ago

mgpepe commented 4 years ago

Hi, can someone help with with this problem, I am a newbie so it might be something very simple.

When I run the example from waveshare like so, sudo ./IT8951 0 0 01.bmp I get the following data:

Panel(W,H) = (1872,1404)
Image Buffer Address == 119F00
FW Version = SWv_0.1.
LUT Version = M841_TFA5210
VCOM = -2.27V
IT8951_GUI_Example

I can then freely put other bitmaps, and test will execute and the images will display.

However, when I try to use the python example, nothing gets displayed. What is worse -- if I come back to the C code, and run the same command, I get blanks:

Panel(W,H) = (0,0)
Image Buffer Address == 0
FW Version = 
LUT Version =
VCOM = -0.00V
IT8951_GUI_Example

Since there is no test code for 10.3" display, I am using a randomly picked epd7in5b_V3 and modified the width and height. I see that the other displays using this hat are 6", 7.8", 9" but none of those are available with working code examples in this python folder.

There must be a pin that needs to be switched in order to get this going again, but I have no clue where to dig and what to try. I attempted to use the EPD Hardware reset function, but it didn't work

Any help is appreciated!

matpalm commented 3 years ago

Did you ever get anywhere with this Petar? I got my screen to display once, and from then on I'm getting the blanks as you mentioned. Wondering if my screen might even be broken?

matpalm commented 3 years ago

actually, nevermind. discovered the amazing python lib https://github.com/GregDMeyer/IT8951 so switching to that