GregDMeyer / IT8951

Driver for the IT8951 e-paper controller on Raspberry Pi
MIT License
155 stars 55 forks source link

Moved HRDY and RESET to spi.pyx, created methods for everything #6

Closed BackSlasher closed 4 years ago

BackSlasher commented 4 years ago
  1. Easier method to invoke Cython compilation
  2. interface.py no longer needs GPIO access, as everything moved to SPI
  3. SPI has separate methods for reset, CS signaling, HRDY checks
  4. Un-inlined HRDY calls, as they're not improving timing significantly

Would be happy to hear your opinion. We could definitely only merge some of these, if you'd like.

GregDMeyer commented 4 years ago

Sorry to take forever getting to this pull request---I just rewrote the backend, so these commits don't work per se, but I agree with all of the ideas! I will incorporate these ideas into the new backend (unless you want to do that before I get around to it!). Cheers

BackSlasher commented 4 years ago

@GregDMeyer no worries :) In the meanwhile I decided I'm looking for a solution that allows me to connect by USB, as I'm not good enough to scale an SPI solution, and Waveshare sucks in USB support, so I'm looking elsewhere.

Your project served very well for experimenting with e-ink screens and prototyping my first solution :D

GregDMeyer commented 4 years ago

OK, sounds good! Thanks for the pull requests. I hope you get USB working! I was thinking about experimenting with that as well, but I agree the Waveshare USB documentation is just terrible.

BackSlasher commented 4 years ago

Apperantly their demo code for usb is broken and the source code is unavailable without some nda so...

I'll try and share interesting results if I get any 🙂

On Mon, May 18, 2020, 22:15 Greg Meyer notifications@github.com wrote:

OK, sounds good! Thanks for the pull requests. I hope you get USB working! I was thinking about experimenting with that as well, but I agree the Waveshare USB documentation is just terrible.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/GregDMeyer/IT8951/pull/6#issuecomment-630384282, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABW4O62NCRF7Z3EP3XP5IALRSGCMPANCNFSM4JX7YLPQ .