caemor / epd-waveshare

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

Use async embedded-hal #187

Open newAM opened 5 months ago

newAM commented 5 months ago

This is not complete, but it does compile. I am not going to be actively working on it (not for a few months anyway). I wanted to share an up-to-date version since #175 is out of date, and also no longer being worked on.

Things to fix:

  1. waiting for the busy pin could be implemented better.
  2. examples do not compile, linux-embedded-hal does not implement async
  3. synchronous support

Anyone please feel free to use any commits here in other pull-requests.

vhdirk commented 1 month ago

Did you see this one? https://github.com/vhdirk/epd-waveshare-async

Edit: I didn't read the post with much attention. I've updated https://github.com/caemor/epd-waveshare/pull/175 to embedded hal 1.0 and rebased on epd-waveshare main