DEV Community

Discussion on: Getting started with the Waveshare 2.7" ePaper HAT on Raspberry Pi

Collapse
 
sergeantpol profile image
sergeantpol

Yeah but which pins and which holes should i connect in order to use the buttons?

Thread Thread
 
ranewallin profile image
Rane Wallin

Oh, 5, 6, 13, 19. You start counting at the top left and then down and around in a U shape form

Thread Thread
 
sergeantpol profile image
sergeantpol • Edited

Yeah thanks! It's working but I have actually one more question.
When I am running your program when should I press the buttons because on the terminal it appears the image below dev-to-uploads.s3.amazonaws.com/i/...

Thread Thread
 
sergeantpol profile image
sergeantpol

and when the running ends there is nothing I can do...
Thank you, you are already so helpful!!!

Thread Thread
 
ranewallin profile image
Rane Wallin

It looks like it may be crashing. It prints "Clear..." when it's clearing the buffer. At that point the screen should start flashing. Do you have an ide you can run it where you might see more information? I think I used a Thonny.

Thread Thread
 
sergeantpol profile image
sergeantpol
Thread Thread
 
ranewallin profile image
Rane Wallin

Did the screen flash?

Thread Thread
 
sergeantpol profile image
sergeantpol

yes, according to
epd.init() # initialize the display
print("Clear...") # print message to console
epd.Clear(0xFF)

Thread Thread
 
ranewallin profile image
Rane Wallin

So the eink display flashes? After it clears the display it should put a message to the console. That message comes from the drivers. If that's not happening, check the waveshare repo to see if they have a new version.