Staacks / inkkeys

https://there.oughta.be/a/macro-keyboard
GNU General Public License v3.0
250 stars 54 forks source link

e-Paper Module not Performing Parital Refresh #14

Closed lucas-fern closed 2 years ago

lucas-fern commented 2 years ago

I've got the device programmed and working on Windows 10, but haven't been able to get the display to perform a partial refresh at any point. I have the v2 of the display and have made the changes to the Arduino code as specified in the readme.

Not sure what the intended behaviour is, but the hardware demo file does display a static image, and then clears.

In the python controller however the functionality of the different keys is working, but the only time I can get an image on the screen is by pressing button 8 to toggle the demo display. I realised that this function makes a call to updateDisplay with fullRefresh=True, so I made that the default in the updateDisplay function and now all the screens display correctly, but only after a lengthy full refresh.

Has anyone else encountered this issue? Or any suggestions for what to try to resolve it? If any additional info would be useful to identify the issue let me know and I'll try to provide it ASAP.

Staacks commented 2 years ago

Sounds like this one discussed over at Reddit: https://www.reddit.com/r/thereoughtabe/comments/s9sgox/inkkey_display_wont_update/

Is there something in there, that solves it for you?

lucas-fern commented 2 years ago

Yep, amazing. Made all the changes suggested in that thread and partial updates are working now.

Cheers!