GregDMeyer / IT8951

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

Missing from time import sleep in interface.py #13

Closed Jacob-Bishop closed 4 years ago

Jacob-Bishop commented 4 years ago

In interface.py, wait_display_ready includes a sleep command, but the imports for interface.py are missing a from time import sleep.

Thanks putting together this module!

GregDMeyer commented 4 years ago

thanks for this heads up, i'll fix it right now!

something I have never quite understood is that it seems that the chip has two ways to check for readiness: that method, which reads a register, and another method (which i have defined in spi.pyx) that checks the ready pin. it's never been clear to me what situation calls for which one of these. I guess I'll open an issue about it so I can figure it out for myself sometime.