caemor / epd-waveshare

Drivers for various EPDs from Waveshare
ISC License
207 stars 128 forks source link

Example 2in13bc gets stuck on `Epd2in13bc::new()` #163

Open teenangst opened 1 year ago

teenangst commented 1 year ago

Managed to get it running after various permission errors, I am running the example as sudo (building not sudo, then running sudo) however nothing happened, I added in printlines between every line and the program gets stuck on Epd2in13bc::new(), there are no errors and no progress.

I saw there was issue #90 which isn't the same as they wanted 2in13_v2 for black and white while mine is 2in13bc which is black white and red. I did try out the 2in13_v2 example and no output but it did finish with "Finished tests - going to sleep" which is not the same as them.

SPI is enabled. I assume it goes without saying but just to be safe, I am using a Raspberry Pi (4B)

norbertkeri commented 9 months ago

Are you wiring it up to the raspberry pi4 yourself? I /think/ I had this problem with an esp32c when my wiring and/or the code using the gpio pins were wrong.