dr-mod / zero-btc-screen

Crypto stock price for RPi Zero
MIT License
310 stars 69 forks source link

Request: support for Pimoroni Inky pHAT red, black, and white 2.13" EPD display #20

Open uududde opened 2 years ago

uududde commented 2 years ago

hello and thank you for this project!

I have a "Pimoroni Inky pHAT for Raspberry Pi - 3 Color eInk Display" with a red, black, and white 2.13" EPD display sitting on my Pi Zero. I tried running the zero-btc-screen trying different display options but only get strange stripes on the eink.

What can I adjust in order for it to display correctly?

dr-mod commented 2 years ago

Hi @uududde, At the moment there is no support for the screen you have, but I believe it shouldn't be to difficult to combine the code for InkyWHAT and an epd_2in7 displays, it would be great if you could get it to work and we can add support for this display. I don't have any pimoroni eink displays so it would be problematic for me to test it, but if you need any help, let me know.

uududde commented 2 years ago

I realised that I have an older version of the inky pHAT which is not widely supported. Even though I found other projects using the inky pHAT they would not load and I guess they all use the newer version with updated libraries. I have now bought a Waveshare 2.13 inch eink and a Waveshare 2.7 inch red/b/w eink display and will try with those.

holmesha commented 2 years ago

@uududde did you figure out how to run the waveshare r/b/w screen? I have the EPD2in13bc (r/b/w) screen and haven't been able to get it to work.

uududde commented 2 years ago

@holmesha I'm sorry but I haven't tried any further due to lack of time. I found another project which works with my 2.7inch e-Paper HAT out of the box (mine is with red but it doesn't display the color).

I also stumbled upon another project which even uses the 5.7 color eink display "impression" for displaying red and green candles which I will look into soon.

new-to commented 2 years ago

A patch to use an Inky pHAT display would be highly appreciated!